[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
Thu May 22 04:04:56 PDT 2025


================
@@ -2223,6 +2223,9 @@ void DwarfDebug::beginFunctionImpl(const MachineFunction *MF) {
     return;
 
   DwarfCompileUnit &CU = getOrCreateDwarfCompileUnit(SP->getUnit());
+  FunctionLineTableLabel = CU.emitFuncLineTableOffsets()
----------------
nocchijiang wrote:

I manually ported your patches, as well as some other necessary ones like https://github.com/llvm/llvm-project/commit/b468ed494acde4d1cc496a436ab9109660db5b80, back to a downstream Swift compiler repo.

https://github.com/llvm/llvm-project/pull/110192


More information about the llvm-commits mailing list