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
This commit is contained in:
Adrian Prantl
2013-10-15 20:26:37 +00:00
parent 05ac87f864
commit 73df4b9f57
2 changed files with 2 additions and 13 deletions

View File

@@ -196,9 +196,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
DwarfAbbrevDWOSectionSym = DwarfStrDWOSectionSym = 0; DwarfAbbrevDWOSectionSym = DwarfStrDWOSectionSym = 0;
FunctionBeginSym = FunctionEndSym = 0; FunctionBeginSym = FunctionEndSym = 0;
// Turn on accelerator tables and older gdb compatibility // Turn on accelerator tables for Darwin by default, pubnames by
// for Darwin by default, pubnames by default for non-Darwin, // default for non-Darwin, and handle split dwarf.
// and handle split dwarf.
bool IsDarwin = Triple(A->getTargetTriple()).isOSDarwin(); bool IsDarwin = Triple(A->getTargetTriple()).isOSDarwin();
if (DwarfAccelTables == Default) if (DwarfAccelTables == Default)
@@ -223,8 +222,6 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
beginModule(); beginModule();
} }
} }
DwarfDebug::~DwarfDebug() {
}
// Switch to the specified MCSection and emit an assembler // Switch to the specified MCSection and emit an assembler
// temporary label to it if SymbolStem is specified. // temporary label to it if SymbolStem is specified.

View File

@@ -429,9 +429,6 @@ class DwarfDebug {
// Holders for the various debug information flags that we might need to // Holders for the various debug information flags that we might need to
// have exposed. See accessor functions below for description. // 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. // Holder for imported entities.
typedef SmallVector<std::pair<const MDNode *, const MDNode *>, 32> typedef SmallVector<std::pair<const MDNode *, const MDNode *>, 32>
ImportedEntityMap; ImportedEntityMap;
@@ -661,7 +658,6 @@ public:
// Main entry points. // Main entry points.
// //
DwarfDebug(AsmPrinter *A, Module *M); DwarfDebug(AsmPrinter *A, Module *M);
~DwarfDebug();
/// \brief Emit all Dwarf sections that should come prior to the /// \brief Emit all Dwarf sections that should come prior to the
/// content. /// content.
@@ -702,10 +698,6 @@ public:
/// \brief Recursively Emits a debug information entry. /// \brief Recursively Emits a debug information entry.
void emitDIE(DIE *Die, std::vector<DIEAbbrev *> *Abbrevs); 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. // Experimental DWARF5 features.
/// \brief Returns whether or not to emit tables that dwarf consumers can /// \brief Returns whether or not to emit tables that dwarf consumers can