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 | ef473bfc4470bd018b6fb5485d4eab1aa793336e (patch) | |
tree | 592c2f41ce7d33d68622f40ffacd43cf36cd87f0 /lib/CodeGen/StackSlotColoring.cpp | |
parent | 33276d95ef4191663d8e6b972481f9faf37ce541 (diff) |
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 3643dfb360..13d608692a 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(); |