aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveDebugVariables.h
diff options
context:
space:
mode:
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();