print isLandingPad() for MBBs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-30 23:12:53 +00:00
parent e7cf56aeee
commit c11ce86943

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()) {