Files
llvm/tools
James Henderson 9a1a8c8d8e [llvm-objcopy] Cache gnu_debuglink's target CRC
.gnu_debuglink section contains information regarding file with
debugging symbols, identified by its CRC32. This target file is not
intended to ever change or it would invalidate the stored checksum, yet
the checksum is calculated over and over again for each of the objects
inside the archive, usually hundreds of times.

This patch precomputes the CRC32 of the target once and then reuses the
value where required, saving lots of redundant I/O.

The error message reported should stay the same, although now it might
be reported earlier.

Reviewed by: jhenderson, jakehehrlich, MaskRay

Differential Revision: https://reviews.llvm.org/D61343

Patch by Michal Janiszewski


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360661 91177308-0d34-0410-b5e6-96231b3b80d8
2019-05-14 10:59:04 +00:00
..
2019-05-13 11:29:25 +00:00
2019-04-22 15:53:43 +00:00
2019-05-10 10:47:30 +00:00
2019-04-30 10:09:28 +00:00
2019-04-30 12:41:33 +00:00
2019-05-07 02:06:37 +00:00