From be4c91c57c253e8bffd4fb6e3b3273d5d59d72cf Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 30 Dec 2013 03:12:31 +0000 Subject: 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 --- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 49c9b0cedc3..7d7b351b9b0 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -146,21 +146,12 @@ protected: /// The label for the start of the range sets for the elements of this unit. MCSymbol *LabelRange; - /// Skeleton unit associated with this unit. - DwarfUnit *Skeleton; - DwarfUnit(unsigned UID, DIE *D, DICompileUnit CU, AsmPrinter *A, DwarfDebug *DW, DwarfFile *DWU); public: virtual ~DwarfUnit(); - /// Set the skeleton unit associated with this unit. - void setSkeleton(DwarfUnit *Skel) { Skeleton = Skel; } - - /// Get the skeleton unit associated with this unit. - DwarfUnit *getSkeleton() const { return Skeleton; } - /// Pass in the SectionSym even though we could recreate it in every compile /// unit (type units will have actually distinct symbols once they're in /// comdat sections). @@ -530,11 +521,6 @@ public: /// either DW_FORM_addr or DW_FORM_GNU_addr_index. void addLabelAddress(DIE *Die, dwarf::Attribute Attribute, MCSymbol *Label); - /// addLocalLabelAddress - Add a dwarf label attribute data and value using - /// DW_FORM_addr. - void addLocalLabelAddress(DIE *Die, dwarf::Attribute Attribute, - MCSymbol *Label); - uint16_t getLanguage() const LLVM_OVERRIDE { return getNode().getLanguage(); } }; -- cgit v1.2.3