aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-13 21:25:00 +0000
committerDevang Patel <dpatel@apple.com>2009-01-13 21:25:00 +0000
commit70190877b7aff395f931cc568f376a07d0ba416e (patch)
tree082805ac0be1d31ba812c68dd9d7f8cf92ec9755 /include/llvm/CodeGen/DwarfWriter.h
parent46fb1cfe4ad23de4d91832d2978f7b0c7f6c15ab (diff)
downloadexternal_llvm-70190877b7aff395f931cc568f376a07d0ba416e.zip
external_llvm-70190877b7aff395f931cc568f376a07d0ba416e.tar.gz
external_llvm-70190877b7aff395f931cc568f376a07d0ba416e.tar.bz2
Use dwarf writer to decide whether the module has debug info or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62184 91177308-0d34-0410-b5e6-96231b3b80d8
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 c2ad3a6..24b0f97 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();
};