From ee773ba72b372460429431ee094690da2464082b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 3 Oct 2006 20:17:24 +0000 Subject: 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 --- lib/CodeGen/MachineBasicBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/MachineBasicBlock.cpp') 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:"; -- cgit v1.2.3-18-g5258