]> granicus.if.org Git - llvm/commitdiff
[MBP] show function name in debug dump
authorXinliang David Li <davidxl@google.com>
Fri, 24 Jun 2016 22:54:21 +0000 (22:54 +0000)
committerXinliang David Li <davidxl@google.com>
Fri, 24 Jun 2016 22:54:21 +0000 (22:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273744 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineBlockPlacement.cpp

index 3d51d460fd940af8b0a8e9f8ea0f04e4e9e5a352..9d6682e4bb1e3ee8e843a470a3714aa5553b70fb 100644 (file)
@@ -1487,6 +1487,7 @@ void MachineBlockPlacement::buildCFGChains() {
 
   // Splice the blocks into place.
   MachineFunction::iterator InsertPos = F->begin();
+  DEBUG(dbgs() << "[MBP] Function: "<< F->getName() << "\n");
   for (MachineBasicBlock *ChainBB : FunctionChain) {
     DEBUG(dbgs() << (ChainBB == *FunctionChain.begin() ? "Placing chain "
                                                        : "          ... ")