summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-30 23:12:53 +0000
committerChris Lattner <sabre@nondot.org>2007-04-30 23:12:53 +0000
commitf90c8fbd2bca6323a3ea370f0dae8eb8c48a0072 (patch)
treedb3cc996d21072ad99765ef0114973382dfc36b8
parent8cfd33b6474165d753698bc1b55ee2e0b4821e56 (diff)
downloadbcm5719-llvm-f90c8fbd2bca6323a3ea370f0dae8eb8c48a0072.tar.gz
bcm5719-llvm-f90c8fbd2bca6323a3ea370f0dae8eb8c48a0072.zip
print isLandingPad() for MBBs
llvm-svn: 36600
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index e38047b277e..39780350ded 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -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()) {
OpenPOWER on IntegriCloud