diff options
author | Eric Christopher <echristo@gmail.com> | 2013-12-30 03:12:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-12-30 03:12:31 +0000 |
commit | be4c91c57c253e8bffd4fb6e3b3273d5d59d72cf (patch) | |
tree | 964faa1e575075e3b8989e77910cf88899a38739 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | 83fff3fce7743bc84f102dc32680cbd38458e3b8 (diff) | |
download | bcm5719-llvm-be4c91c57c253e8bffd4fb6e3b3273d5d59d72cf.tar.gz bcm5719-llvm-be4c91c57c253e8bffd4fb6e3b3273d5d59d72cf.zip |
Temporarily revert "Use a pointer to keep track of the skeleton unit for
each normal unit" as it seems to be causing problems in the asan tests.
llvm-svn: 198197
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 7e46d3c97d1..693e37ffe8d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -293,23 +293,6 @@ void DwarfCompileUnit::addLabelAddress(DIE *Die, dwarf::Attribute Attribute, } } -/// addLocalLabelAddress - Add a dwarf label attribute data and value using -/// DW_FORM_addr. -void DwarfCompileUnit::addLocalLabelAddress(DIE *Die, - dwarf::Attribute Attribute, - MCSymbol *Label) { - if (Label) - DD->addArangeLabel(SymbolCU(this, Label)); - - if (Label != NULL) { - DIEValue *Value = new (DIEValueAllocator) DIELabel(Label); - Die->addValue(Attribute, dwarf::DW_FORM_addr, Value); - } else { - DIEValue *Value = new (DIEValueAllocator) DIEInteger(0); - Die->addValue(Attribute, dwarf::DW_FORM_addr, Value); - } -} - /// addOpAddress - Add a dwarf op address data and value using the /// form given and an op of either DW_FORM_addr or DW_FORM_GNU_addr_index. /// |