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)
commit83fff3fce7743bc84f102dc32680cbd38458e3b8
treef2b838c119e2165fed115f968ba06059cdf586c0
parent94b0f0278e49809e341c9d57b605d54e45b1de9c
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.

llvm-svn: 198196
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/test/DebugInfo/X86/fission-cu.ll
llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll