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 | 993771325209a07e2cff2ee842d7077deda6a616 (patch) | |
| tree | 127aa5115e19a64b522e8825e0732e92dd85e29b /llvm/lib/CodeGen | |
| parent | 2b381e0c1ef646d4ed6de9d61d2a77d157673eb5 (diff) | |
| download | bcm5719-llvm-993771325209a07e2cff2ee842d7077deda6a616.tar.gz bcm5719-llvm-993771325209a07e2cff2ee842d7077deda6a616.zip | |
Print symbolic register names in debug dumps
llvm-svn: 22528
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 9f0bce8296f..b242a9c6942 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/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(); |

