Dwarf: support for LTO where a single object file can have multiple line tables
authorManman Ren <mren@apple.com>
Tue, 5 Feb 2013 21:52:47 +0000 (21:52 +0000)
committerManman Ren <mren@apple.com>
Tue, 5 Feb 2013 21:52:47 +0000 (21:52 +0000)
commit43213cf1ac05b4198fcf9fa85d7da85477daafd1
treeac7b63c63e3625771d1e2d94492927a6d5682320
parentbaabdecbb9bf5b32fa81b1e2830ab13076d549f1
Dwarf: support for LTO where a single object file can have multiple line tables

We generate one line table for each compilation unit in the object file.
Reviewed by Eric and Kevin.

rdar://problem/13067005

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174445 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/MC/MCContext.h
include/llvm/MC/MCDwarf.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/MC/MCContext.cpp
lib/MC/MCDwarf.cpp
test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
test/CodeGen/X86/2010-12-02-MC-Set.ll
test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
test/CodeGen/X86/dbg-value-location.ll
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll [new file with mode: 0644]
test/DebugInfo/X86/stmt-list.ll
test/DebugInfo/X86/stringpool.ll