Revert r198208 and reapply:
authorEric Christopher <echristo@gmail.com>
Mon, 30 Dec 2013 17:22:27 +0000 (17:22 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 30 Dec 2013 17:22:27 +0000 (17:22 +0000)
commitd86672037b3a0b030ce00bf1badff59d380f0a51
treec7ec9d66359156111a484ee09bcebf82279492c4
parentafad4dc633cab37d10970ddb3d6f78ab9583cec6
Revert r198208 and reapply:

      r198196: Use a pointer to keep track of the skeleton unit for each normal unit and construct it up front.
      r198199: Reapply r198196 with a fix to zero initialize the skeleton pointer.
      r198202: Fix aranges and split dwarf by ensuring that the symbol and relocation back to the compile unit from the aranges section is to the skeleton unit and not the one in the dwo.

with a fix to use integer 0 for DW_AT_low_pc since the relocation to the text section symbol was causing issues with COFF. Accordingly remove addLocalLabelAddress and machinery since we're not currently using it.

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