summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitafc2bc2c04e42fcc16a9f964d0a13b7dbc05c3b0 (patch)
treead44d68bdc7f27af6b18a041f8cd37037d3ab4c2 /llvm/lib/CodeGen/LiveDebugVariables.h
parent25cde34ae41fab6ead1a8b556284d3004c3f5ff6 (diff)
downloadbcm5719-llvm-afc2bc2c04e42fcc16a9f964d0a13b7dbc05c3b0.tar.gz
bcm5719-llvm-afc2bc2c04e42fcc16a9f964d0a13b7dbc05c3b0.zip
Emit DBG_VALUE instructions from LiveDebugVariables.
llvm-svn: 120842
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.h')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.h b/llvm/lib/CodeGen/LiveDebugVariables.h
index a69b974fe37..a6e40a19845 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud