print isLandingPad() for MBBs

llvm-svn: 36600
This commit is contained in:
Chris Lattner 2007-04-30 23:12:53 +00:00
parent 8cfd33b647
commit f90c8fbd2b
1 changed files with 5 additions and 3 deletions

View File

@ -111,9 +111,11 @@ void MachineBasicBlock::print(std::ostream &OS) const {
const BasicBlock *LBB = getBasicBlock();
OS << "\n";
if (LBB) OS << LBB->getName();
OS << " (" << (const void*)this
<< ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n";
if (LBB) OS << LBB->getName() << ": ";
OS << (const void*)this
<< ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber();
if (isLandingPad()) OS << ", EH LANDING PAD";
OS << ":\n";
const MRegisterInfo *MRI = MF->getTarget().getRegisterInfo();
if (livein_begin() != livein_end()) {