aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-13 21:44:10 +0000
committerDevang Patel <dpatel@apple.com>2009-01-13 21:44:10 +0000
commitfe359e7dc51edffc6045beb6a8d4cefd2d4daae1 (patch)
treef692a276c984fc840d0168979733ab03472b1c2f /include/llvm/CodeGen/DwarfWriter.h
parent70190877b7aff395f931cc568f376a07d0ba416e (diff)
downloadexternal_llvm-fe359e7dc51edffc6045beb6a8d4cefd2d4daae1.zip
external_llvm-fe359e7dc51edffc6045beb6a8d4cefd2d4daae1.tar.gz
external_llvm-fe359e7dc51edffc6045beb6a8d4cefd2d4daae1.tar.bz2
Use DwarfWriter to record dbg variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62185 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index 24b0f97..19601a4 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -93,6 +93,10 @@ public:
/// getRecordSourceLineCount - Count source lines.
unsigned getRecordSourceLineCount();
+ /// RecordVariable - Indicate the declaration of a local variable.
+ ///
+ void RecordVariable(GlobalVariable *GV, unsigned FrameIndex);
+
/// hasDebugInfo - Return true if debug info intrinsics are seen in
/// this module.
bool hasDebugInfo();