summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-12-30 03:12:31 +0000
committerEric Christopher <echristo@gmail.com>2013-12-30 03:12:31 +0000
commit0661cbefb3c3544b50dd3b7ee6e81113a92e389d (patch)
tree2bf7e89869bb5653d06ee09ddc9bfb51146450a0 /lib/CodeGen/AsmPrinter/DwarfUnit.cpp
parent1dd211d88d0d2c5307d1ce651d74107b4a7e6238 (diff)
downloadllvm-0661cbefb3c3544b50dd3b7ee6e81113a92e389d.tar.gz
llvm-0661cbefb3c3544b50dd3b7ee6e81113a92e389d.tar.bz2
llvm-0661cbefb3c3544b50dd3b7ee6e81113a92e389d.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index 7e46d3c97d..693e37ffe8 100644
--- a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/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.
///