diff options
author | Xinliang David Li <davidxl@google.com> | 2016-06-24 22:54:21 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-06-24 22:54:21 +0000 |
commit | 449cdfd00aa2d9d5ff9c919200e0986f59f14992 (patch) | |
tree | 61d23e9e4df77658c2393c3fd60623846e02ac28 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | ae2ef4ccd4b904461009c4444e1ae9006a666c0e (diff) | |
download | bcm5719-llvm-449cdfd00aa2d9d5ff9c919200e0986f59f14992.tar.gz bcm5719-llvm-449cdfd00aa2d9d5ff9c919200e0986f59f14992.zip |
[MBP] show function name in debug dump
llvm-svn: 273744
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 3d51d460fd9..9d6682e4bb1 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -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 " : " ... ") |