diff options
author | Chris Lattner <sabre@nondot.org> | 2005-07-27 23:03:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-07-27 23:03:38 +0000 |
commit | 8e7a70976deee78a84099b916591d40f7a1cdc34 (patch) | |
tree | 524e940ec9933f7393025f5b345c8634a7fc7b83 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | bc9e49c77def12f54dcea33ad367cd43b8a082e0 (diff) |
Print symbolic register names in debug dumps
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 9f0bce8296..b242a9c694 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -206,8 +206,10 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) { /// print - Implement the dump method. void LiveIntervals::print(std::ostream &O, const Module* ) const { O << "********** INTERVALS **********\n"; - for (const_iterator I = begin(), E = end(); I != E; ++I) - O << " " << I->second << "\n"; + for (const_iterator I = begin(), E = end(); I != E; ++I) { + I->second.print(std::cerr, mri_); + std::cerr << "\n"; + } O << "********** MACHINEINSTRS **********\n"; for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end(); |