mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -101,7 +101,8 @@ void MachineBasicBlock::print(std::ostream &OS) const
|
||||
}
|
||||
const BasicBlock *LBB = getBasicBlock();
|
||||
if(LBB)
|
||||
OS << "\n" << LBB->getName() << " (" << (const void*)LBB << "):\n";
|
||||
OS << "\n" << LBB->getName() << " (" << (const void*)this
|
||||
<< ", LLVM BB @" << (const void*) LBB << "):\n";
|
||||
for (const_iterator I = begin(); I != end(); ++I) {
|
||||
OS << "\t";
|
||||
I->print(OS, getParent()->getTarget());
|
||||
|
Reference in New Issue
Block a user