aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2023-08-18 07:33:27 -0700
committerPaul Robinson <paul.robinson@sony.com>2023-08-18 09:20:42 -0700
commit1fcc2bc31bb9352a13445ff4a5cccb0bebb8ea5b (patch)
tree3b4d3f061cd2abc099af6bc7b581e26ce033ccf6 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent1c66d08b0137cef7761b8220d3b7cb7833f57cdb (diff)
downloadllvm-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/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions