[all-commits] [llvm/llvm-project] 7abb5f: [DWARF] Make sure file entry for artificial functi...
Paul T Robinson via All-commits
all-commits at lists.llvm.org
Mon Jul 24 10:53:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7abb5fc618cec66841a8280d2a099a4c9c8cb91b
https://github.com/llvm/llvm-project/commit/7abb5fc618cec66841a8280d2a099a4c9c8cb91b
Author: Paul Robinson <paul.robinson at sony.com>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.h
M clang/test/CodeGenCXX/debug-info-function-context.cpp
Log Message:
-----------
[DWARF] Make sure file entry for artificial functions has an MD5 checksum
The DIFile cache was keyed on a string pointer instead of string content,
which was causing misses and resulted in an entry without a checksum.
In DWARF v5 if any checksum is missing, we can't write any to the output
file, so this had consequences.
Fixes https://github.com/llvm/llvm-project/issues/63955
Differential revision: https://reviews.llvm.org/D155991
More information about the All-commits
mailing list