aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 03:52:55 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 03:52:55 +0000
commit994cb126c9e67e3dc79db24c609ee48564ab98bc (patch)
treec0684048d5868d48d9d74070dadb4a21cfe1853a /lib/CodeGen/AsmPrinter/DwarfDebug.h
parent6342b416f3086d3a4b9972106b77a3a8bc1d0d81 (diff)
eliminate DwarfDebug::shouldEmit, which is the same now as MMI::hasDebugInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index b38e485117..21b406eeab 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -126,10 +126,6 @@ private:
///
std::vector<std::vector<SrcLineInfo> > SectionSourceLines;
- /// shouldEmit - Flag to indicate if debug information should be emitted.
- ///
- bool shouldEmit;
-
// CurrentFnDbgScope - Top level scope for the current function.
//
DbgScope *CurrentFnDbgScope;
@@ -520,10 +516,6 @@ public:
DwarfDebug(AsmPrinter *A);
virtual ~DwarfDebug();
- /// ShouldEmitDwarfDebug - Returns true if Dwarf debugging declarations should
- /// be emitted.
- bool ShouldEmitDwarfDebug() const { return shouldEmit; }
-
/// beginModule - Emit all Dwarf sections that should come prior to the
/// content.
void beginModule(Module *M);