summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 05ac87f)
raw | patch | inline | side by side (parent: 05ac87f)
author | Adrian Prantl <aprantl@apple.com> | |
Tue, 15 Oct 2013 20:26:37 +0000 (20:26 +0000) | ||
committer | Adrian Prantl <aprantl@apple.com> | |
Tue, 15 Oct 2013 20:26:37 +0000 (20:26 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192731 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | patch | blob | history | |
lib/CodeGen/AsmPrinter/DwarfDebug.h | patch | blob | history |
index 4bebecd8070780ea83d3732d36f684b47c9850ef..a9bd0b4fee530842bb5453de6c6ade0f2e62a9c1 100644 (file)
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)
beginModule();
}
}
-DwarfDebug::~DwarfDebug() {
-}
// Switch to the specified MCSection and emit an assembler
// temporary label to it if SymbolStem is specified.
index 6d22f2721495788bd6e51d0d6a9471b8346f16e4..326a09c5161c0f2657f9e723f587ce67e2c49ffb 100644 (file)
// 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;
// Main entry points.
//
DwarfDebug(AsmPrinter *A, Module *M);
- ~DwarfDebug();
/// \brief Emit all Dwarf sections that should come prior to the
/// content.
/// \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