Fix Windows build break: use LLVM_FUNCTION_NAME instead of __func__.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Krzysztof Parzyszek 2015-04-22 17:19:44 +00:00
parent a37c0d278b
commit b4e6e4e78d
2 changed files with 2 additions and 2 deletions

View File

@ -928,7 +928,7 @@ void HexagonFrameLowering::processFunctionBeforeCalleeSavedScan(
bool HexagonFrameLowering::assignCalleeSavedSpillSlots(MachineFunction &MF,
const TargetRegisterInfo *TRI, std::vector<CalleeSavedInfo> &CSI) const {
const Function &F = *MF.getFunction();
DEBUG(dbgs() << __func__ << " on " << F.getName() << '\n');
DEBUG(dbgs() << LLVM_FUNCTION_NAME << " on " << F.getName() << '\n');
MachineFrameInfo *MFI = MF.getFrameInfo();
unsigned NR = TRI->getNumRegs();
BitVector SRegs(NR);

View File

@ -802,7 +802,7 @@ HexagonTargetLowering::LowerDYNAMIC_STACKALLOC(SDValue Op,
A = HFI.getStackAlignment();
DEBUG({
dbgs () << __func__ << " Align: " << A << " Size: ";
dbgs () << LLVM_FUNCTION_NAME << " Align: " << A << " Size: ";
Size.getNode()->dump(&DAG);
dbgs() << "\n";
});