Fix Windows build break: use LLVM_FUNCTION_NAME instead of __func__.

llvm-svn: 235525
This commit is contained in:
Krzysztof Parzyszek 2015-04-22 17:19:44 +00:00
parent deaef8e24b
commit 9ee04e401a
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";
});