Ver Fonte

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
Bill Wendling há 15 anos atrás
pai
commit
ef473bfc44
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      lib/CodeGen/StackSlotColoring.cpp

+ 5 - 1
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();