Print out the name of the function during SSC.
authorBill Wendling <isanbard@gmail.com>
Mon, 24 May 2010 23:16:04 +0000 (23:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 24 May 2010 23:16:04 +0000 (23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104572 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/StackSlotColoring.cpp

index 3643dfb3603fa650ce43ff253cdc85eb0c2e01d1..13d608692adfe0151368b1aa221eb26242f2b3ba 100644 (file)
@@ -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();