[MBP] show function name in debug dump

llvm-svn: 273744
This commit is contained in:
Xinliang David Li 2016-06-24 22:54:21 +00:00
parent ae2ef4ccd4
commit 449cdfd00a
1 changed files with 1 additions and 0 deletions

View 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 "
: " ... ")