diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-10-15 20:26:37 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-10-15 20:26:37 +0000 |
commit | 73df4b9f5742023838ffa4eb36638a437e728193 (patch) | |
tree | dadc29266659bbf6622ad62623e1dee144d0615f /lib | |
parent | 05ac87f864a34bff0e6f2a029d48eab3e4cb464a (diff) | |
download | external_llvm-73df4b9f5742023838ffa4eb36638a437e728193.zip external_llvm-73df4b9f5742023838ffa4eb36638a437e728193.tar.gz external_llvm-73df4b9f5742023838ffa4eb36638a437e728193.tar.bz2 |
Remove some dead code. (DarwinGDBCompat was retired in r189903).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 7 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 8 |
2 files changed, 2 insertions, 13 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4bebecd..a9bd0b4 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -196,9 +196,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M) DwarfAbbrevDWOSectionSym = DwarfStrDWOSectionSym = 0; FunctionBeginSym = FunctionEndSym = 0; - // Turn on accelerator tables and older gdb compatibility - // for Darwin by default, pubnames by default for non-Darwin, - // and handle split dwarf. + // Turn on accelerator tables for Darwin by default, pubnames by + // default for non-Darwin, and handle split dwarf. bool IsDarwin = Triple(A->getTargetTriple()).isOSDarwin(); if (DwarfAccelTables == Default) @@ -223,8 +222,6 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M) beginModule(); } } -DwarfDebug::~DwarfDebug() { -} // Switch to the specified MCSection and emit an assembler // temporary label to it if SymbolStem is specified. diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 6d22f27..326a09c 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -429,9 +429,6 @@ class DwarfDebug { // Holders for the various debug information flags that we might need to // have exposed. See accessor functions below for description. - // Whether or not we're emitting info for older versions of gdb on darwin. - bool IsDarwinGDBCompat; - // Holder for imported entities. typedef SmallVector<std::pair<const MDNode *, const MDNode *>, 32> ImportedEntityMap; @@ -661,7 +658,6 @@ public: // Main entry points. // DwarfDebug(AsmPrinter *A, Module *M); - ~DwarfDebug(); /// \brief Emit all Dwarf sections that should come prior to the /// content. @@ -702,10 +698,6 @@ public: /// \brief Recursively Emits a debug information entry. void emitDIE(DIE *Die, std::vector<DIEAbbrev *> *Abbrevs); - /// \brief Returns whether or not to limit some of our debug - /// output to the limitations of darwin gdb. - bool useDarwinGDBCompat() { return IsDarwinGDBCompat; } - // Experimental DWARF5 features. /// \brief Returns whether or not to emit tables that dwarf consumers can |