[llvm-commits] [llvm] r104572 - /llvm/trunk/lib/CodeGen/StackSlotColoring.cpp

Bill Wendling isanbard at gmail.com
Mon May 24 16:16:04 PDT 2010


Author: void
Date: Mon May 24 18:16:04 2010
New Revision: 104572

URL: http://llvm.org/viewvc/llvm-project?rev=104572&view=rev
Log:
Print out the name of the function during SSC.

Modified:
    llvm/trunk/lib/CodeGen/StackSlotColoring.cpp

Modified: llvm/trunk/lib/CodeGen/StackSlotColoring.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackSlotColoring.cpp?rev=104572&r1=104571&r2=104572&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackSlotColoring.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackSlotColoring.cpp Mon May 24 18:16:04 2010
@@ -699,7 +699,11 @@
 
 
 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(); 





More information about the llvm-commits mailing list