[llvm] [DWARFLinker] Patch DW_AT_LLVM_stmt_sequence in the parallel linker (PR #195388)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 09:52:24 PDT 2026
================
@@ -335,6 +342,8 @@ class DebugLineSectionEmitter {
AddressDelta =
(Row.Address.Address - Address) / LineTable.Prologue.MinInstLength;
}
+ if (AddrToSeqStartOffset)
+ (*AddrToSeqStartOffset)[Row.Address.Address] = CurrentSeqStartOffset;
----------------
alx32 wrote:
Could this overwrite a previous entry if two sequences end up with the same first-row address after relocation (e.g. ICF within a single CU)? The classic linker sidesteps this by keying on row index instead of address.
https://github.com/llvm/llvm-project/pull/195388
More information about the llvm-commits
mailing list