aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-02 22:43:26 +0000
committerDevang Patel <dpatel@apple.com>2009-07-02 22:43:26 +0000
commit7e1e31f467d87c834d8baf673929865907901313 (patch)
tree7c44f6f13b191d3b5df3df33620eaaf145dc2892 /include/llvm/CodeGen/MachineFunction.h
parent2f510aed9cbd24dca1fdc5aabe27325e5ade9e1a (diff)
downloadexternal_llvm-7e1e31f467d87c834d8baf673929865907901313.zip
external_llvm-7e1e31f467d87c834d8baf673929865907901313.tar.gz
external_llvm-7e1e31f467d87c834d8baf673929865907901313.tar.bz2
Simplify debug info intrisinc lowering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 73f5546..ea6a384 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -356,6 +356,9 @@ public:
/// setDefaultDebugLoc - Get the default debug location for the machine
/// function.
void setDefaultDebugLoc(DebugLoc DL) { DefaultDebugLoc = DL; }
+
+ /// getDebugLocInfo - Get the debug info location tracker.
+ DebugLocTracker &getDebugLocInfo() { return DebugLocInfo; }
};
//===--------------------------------------------------------------------===//