aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorAlexander Yermolovich <43973793+ayermolo@users.noreply.github.com>2025-01-08 17:08:35 -0800
committerGitHub <noreply@github.com>2025-01-08 17:08:35 -0800
commitfce0314c384f72cacbfcce148c9d110687c78261 (patch)
treec70b09aa9afa38029ed370af9c76f606a73bf4d8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent160a408a870b6a7a46cebfd58f8e2a0893e21632 (diff)
downloadllvm-fce0314c384f72cacbfcce148c9d110687c78261.zip
llvm-fce0314c384f72cacbfcce148c9d110687c78261.tar.gz
llvm-fce0314c384f72cacbfcce148c9d110687c78261.tar.bz2
[LLVM][DWARF] Create debug names entry for non-tu top level DIE (#121856)
When creating a Type Unit (TU), LLVM attempts to do so optimistically. However, if this fails, it discards the TU state and creates the TU within the Compilation Unit (CU). In such cases, an entry for the top-level DIE is not created in the debug names table. This can cause issues when running llvm-dwarfdump --debug-names --verify, as the missing entry will result in verification failure. To address this issue, this patch adds a call to the updateAcceleratorTables when TU creation fails. This ensures that the debug names table is updated correctly, even in cases where TU creation fails.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions