diff options
author | Paul Robinson <paul.robinson@sony.com> | 2023-08-18 07:33:27 -0700 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2023-08-18 09:20:42 -0700 |
commit | 1fcc2bc31bb9352a13445ff4a5cccb0bebb8ea5b (patch) | |
tree | 3b4d3f061cd2abc099af6bc7b581e26ce033ccf6 /clang/lib/ExtractAPI/Serialization | |
parent | 1c66d08b0137cef7761b8220d3b7cb7833f57cdb (diff) | |
download | llvm-1fcc2bc31bb9352a13445ff4a5cccb0bebb8ea5b.zip llvm-1fcc2bc31bb9352a13445ff4a5cccb0bebb8ea5b.tar.gz llvm-1fcc2bc31bb9352a13445ff4a5cccb0bebb8ea5b.tar.bz2 |
Reapply "[DebugInfo] Alternate (more efficient) MD5 fix"
D155991 changed the file lookup to do a full string compare on the
filename; however, this added ~0.5% to compile time with -g.
Go back to the previous pointer-based lookup, but capture the main
file's checksum as well as its name to use when creating the extra
DIFile entry. This causes all entries to be consistent and also
avoids computing the checksum twice.
This reverts commit 5956648fc3ba11dd6b0d0f2d1d9b923e7f80f247.
There was a string lifetime issue that is now corrected.
Differential Revision: https://reviews.llvm.org/D156571
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization')
0 files changed, 0 insertions, 0 deletions