summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-05-14 10:59:04 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-05-14 10:59:04 +0000
commit9df3883618a91832f129213a4637957bf2ba9fa2 (patch)
tree214483018a6b4a491e715b58ae64c401fb46361f /lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace
parentce0da8ba82d0fd5491e24a0a6aa85818911c9a46 (diff)
downloadbcm5719-llvm-9df3883618a91832f129213a4637957bf2ba9fa2.tar.gz
bcm5719-llvm-9df3883618a91832f129213a4637957bf2ba9fa2.zip
[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 llvm-svn: 360661
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud