Re: [PATCH 4/7 v3] lto: Implement ltrans cache

2024-12-12 Thread Jan Hubicka
> gcc/ChangeLog: > > * Makefile.in: Add lto-ltrans-cache.o. > * lto-wrapper.cc: Use ltrans cache. > * lto-ltrans-cache.cc: New file. > * lto-ltrans-cache.h: New file. OK. > + > +/* Computes checksum for given file, returns NULL_CHECKSUM if not > + possible. > + */ As a f

[PATCH 4/7 v3] lto: Implement ltrans cache

2024-11-08 Thread Michal Jires
Changes from previous version: 1) As suggested, I replaced md5 with sha1. Though I have not been able to measure a difference. Checksum computation will be later moved to WPA before partitions are streamed to disk. 2) File comparison with mmap. Ltrans cache overhead when compiling cc1: whole LT