Use a pointer to keep track of the skeleton unit for each normal unit
authorEric Christopher <echristo@gmail.com>
Mon, 30 Dec 2013 03:02:12 +0000 (03:02 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 30 Dec 2013 03:02:12 +0000 (03:02 +0000)
commit1dd211d88d0d2c5307d1ce651d74107b4a7e6238
tree6aa0bdc20b3e48736172922e01ef196cc7232105
parent90128bee68bc37dc4fe58488485d8517f23a38a4
Use a pointer to keep track of the skeleton unit for each normal unit
and construct it up front. Add address ranges at the end and a helper
routine so that we're not needlessly using an indirction in the case
of split dwarf.

Update testcases according to the new ordering of attributes on
the compile unit.

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