aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index c2ad3a6483..24b0f97dfc 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -93,6 +93,9 @@ public:
/// getRecordSourceLineCount - Count source lines.
unsigned getRecordSourceLineCount();
+ /// hasDebugInfo - Return true if debug info intrinsics are seen in
+ /// this module.
+ bool hasDebugInfo();
};