diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-03 20:17:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-03 20:17:24 +0000 |
commit | ee773ba72b372460429431ee094690da2464082b (patch) | |
tree | 80d284f006e3604295d2183ad6a8437d00c29ae3 /lib/CodeGen/MachineBasicBlock.cpp | |
parent | 20a6d8e63056cc2025e7143a5f7226e079e0bc80 (diff) |
Print the MBB ID # along with the bb tag in the -print-machine-instrs output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | lib/CodeGen/MachineBasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index de397d3857..3b486d61ed 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -96,7 +96,7 @@ void MachineBasicBlock::print(std::ostream &OS) const { const BasicBlock *LBB = getBasicBlock(); if (LBB) OS << "\n" << LBB->getName() << " (" << (const void*)this - << ", LLVM BB @" << (const void*) LBB << "):\n"; + << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n"; // Print the preds of this block according to the CFG. if (!pred_empty()) { OS << " Predecessors according to CFG:"; |