aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveDebugVariables.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-03 21:47:10 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-03 21:47:10 +0000
commit42acf069c9e46395a2fa230ed6b89b402828e3d5 (patch)
tree3aefe9c4f4e370575824e102b3d56467c804bd80 /lib/CodeGen/LiveDebugVariables.h
parent8d2584a1d9ab56d35884d035e4da6146b4d7391f (diff)
Emit DBG_VALUE instructions from LiveDebugVariables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveDebugVariables.h')
-rw-r--r--lib/CodeGen/LiveDebugVariables.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveDebugVariables.h b/lib/CodeGen/LiveDebugVariables.h
index a69b974fe3..a6e40a1984 100644
--- a/lib/CodeGen/LiveDebugVariables.h
+++ b/lib/CodeGen/LiveDebugVariables.h
@@ -25,6 +25,8 @@
namespace llvm {
+class VirtRegMap;
+
class LiveDebugVariables : public MachineFunctionPass {
void *pImpl;
public:
@@ -42,7 +44,8 @@ public:
/// emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes
/// that happened during register allocation.
- void emitDebugValues();
+ /// @param VRM Rename virtual registers according to map.
+ void emitDebugValues(VirtRegMap *VRM);
/// dump - Print data structures to dbgs().
void dump();