Emit DBG_VALUE instructions from LiveDebugVariables.
[oota-llvm.git] / lib / CodeGen / LiveDebugVariables.h
index a69b974fe373c61466c7d8fea5d29f818e06162a..a6e40a198456289df776ade772bb2ed683d5f128 100644 (file)
@@ -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();