Fixed version of 121434 with no new memory leaks.
[oota-llvm.git] / lib / CodeGen / LiveDebugVariables.h
index 2e4b05267ddabdad48c5ca263998231429f1b2ba..a6e40a198456289df776ade772bb2ed683d5f128 100644 (file)
@@ -25,6 +25,8 @@
 
 namespace llvm {
 
+class VirtRegMap;
+
 class LiveDebugVariables : public MachineFunctionPass {
   void *pImpl;
 public:
@@ -42,7 +44,11 @@ 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();
 
 private: