aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index f8c27d950e..afac39c522 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -690,6 +690,9 @@ public:
/// or another context nested inside a subprogram.
bool isSubprogramContext(const MDNode *Context);
+ /// Gets the parent scope for this scope node or returns a
+ /// default constructed scope.
+ DIScope getScopeContext(DIScope S) const;
};
} // End of namespace llvm