mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
[MBP] show function name in debug dump
llvm-svn: 273744
This commit is contained in:
parent
237b6da09c
commit
26ea3e99a5
@ -1487,6 +1487,7 @@ void MachineBlockPlacement::buildCFGChains() {
|
|||||||
|
|
||||||
// Splice the blocks into place.
|
// Splice the blocks into place.
|
||||||
MachineFunction::iterator InsertPos = F->begin();
|
MachineFunction::iterator InsertPos = F->begin();
|
||||||
|
DEBUG(dbgs() << "[MBP] Function: "<< F->getName() << "\n");
|
||||||
for (MachineBasicBlock *ChainBB : FunctionChain) {
|
for (MachineBasicBlock *ChainBB : FunctionChain) {
|
||||||
DEBUG(dbgs() << (ChainBB == *FunctionChain.begin() ? "Placing chain "
|
DEBUG(dbgs() << (ChainBB == *FunctionChain.begin() ? "Placing chain "
|
||||||
: " ... ")
|
: " ... ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user