Emit DBG_VALUE instructions from LiveDebugVariables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen
2010-12-03 21:47:10 +00:00
parent 8d2584a1d9
commit 42acf069c9
3 changed files with 192 additions and 2 deletions

View 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();