]> granicus.if.org Git - llvm/commit
Dwarf: use a single line table to generate assembly when .loc is used.
authorManman Ren <mren@apple.com>
Tue, 21 May 2013 00:57:22 +0000 (00:57 +0000)
committerManman Ren <mren@apple.com>
Tue, 21 May 2013 00:57:22 +0000 (00:57 +0000)
commit01cb18ea08aeb76726750914b1283c633b5a2d74
tree03619b4bc48760d744cb26ec7b903528f7d67d9b
parentbf00bf9ad2f07c5c06986930842ace28b8fb2518
Dwarf: use a single line table to generate assembly when .loc is used.

This is to fix PR15408 where an undefined symbol Lline_table_start1 is used.
Since we do not generate the debug_line section when .loc is used,
Lline_table_start1 is not emitted and we can't refer to it when calculating
at_stmt_list for a compile unit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182344 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll