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
This commit is contained in:
Devang Patel
2009-01-13 21:25:00 +00:00
parent 4afe15b131
commit bb8c5959c8
3 changed files with 12 additions and 2 deletions

View File

@@ -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();
};