[llvm] [DebugInfo][DWARF] Emit Per-Function Line Table Offsets and End Sequences (PR #110192)
Zhaoxuan Jiang via llvm-commits
llvm-commits at lists.llvm.org
Tue May 20 05:25:37 PDT 2025
================
@@ -2223,6 +2223,9 @@ void DwarfDebug::beginFunctionImpl(const MachineFunction *MF) {
return;
DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(SP->getUnit());
+ FunctionLineTableLabel = CU.emitFuncLineTableOffsets()
----------------
nocchijiang wrote:
Should this call be placed after `setDwarfCompileUnitID()`? If the compile unit ID is changed, it seems that `FunctionLineTableLabel` would no longer be in the same line table as the debug lines added later.
https://github.com/llvm/llvm-project/pull/110192
More information about the llvm-commits
mailing list