diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-05-24 23:16:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-05-24 23:16:04 +0000 |
commit | 6656daaf1ea65f19b7efe11e7d403d55882507e7 (patch) | |
tree | 592c2f41ce7d33d68622f40ffacd43cf36cd87f0 /lib/CodeGen/StackSlotColoring.cpp | |
parent | 9a8a51545c3e8eeeda47a53e5ba70a79ddd3deaf (diff) | |
download | external_llvm-6656daaf1ea65f19b7efe11e7d403d55882507e7.zip external_llvm-6656daaf1ea65f19b7efe11e7d403d55882507e7.tar.gz external_llvm-6656daaf1ea65f19b7efe11e7d403d55882507e7.tar.bz2 |
Print out the name of the function during SSC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r-- | lib/CodeGen/StackSlotColoring.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index 3643dfb..13d6086 100644 --- a/lib/CodeGen/StackSlotColoring.cpp +++ b/lib/CodeGen/StackSlotColoring.cpp @@ -699,7 +699,11 @@ bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) { bool StackSlotColoring::runOnMachineFunction(MachineFunction &MF) { - DEBUG(dbgs() << "********** Stack Slot Coloring **********\n"); + DEBUG({ + dbgs() << "********** Stack Slot Coloring **********\n" + << "********** Function: " + << MF.getFunction()->getName() << '\n'; + }); MFI = MF.getFrameInfo(); MRI = &MF.getRegInfo(); |