From: Bill Wendling Date: Mon, 24 May 2010 23:16:04 +0000 (+0000) Subject: Print out the name of the function during SSC. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ef473bfc4470bd018b6fb5485d4eab1aa793336e;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index 3643dfb3603..13d608692ad 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();