Print symbolic register names in debug dumps

llvm-svn: 22528
This commit is contained in:
Chris Lattner 2005-07-27 23:03:38 +00:00
parent 2b381e0c1e
commit 9937713252
1 changed files with 4 additions and 2 deletions

View File

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