[llvm] [llvm-debuginfo-analyzer] Fix crash with WebAssembly dead code (PR #141616)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 10:54:18 PDT 2025
================
@@ -133,6 +133,10 @@ class LVReader {
// Only for ELF format. The CodeView is handled in a different way.
LVSectionIndex DotTextSectionIndex = UndefinedSectionIndex;
+ // Tombstone value. Assume 64 bits. The value is updated for each
+ // Compile Unit that is processed.
+ LVAddress TombstoneAddress = MaxAddress;
----------------
dwblaikie wrote:
Yep, I'd go with -2 for a meta-tombstone (or use std::optional if I wanted to be really explicit about the set/unset state)
https://github.com/llvm/llvm-project/pull/141616
More information about the llvm-commits
mailing list