Emit DBG_VALUE instructions from LiveDebugVariables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120842 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveDebugVariables.h b/lib/CodeGen/LiveDebugVariables.h
index a69b974..a6e40a1 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 @@
/// 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();