Fix Windows build break: use LLVM_FUNCTION_NAME instead of __func__.
llvm-svn: 235525
This commit is contained in:
parent
deaef8e24b
commit
9ee04e401a
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue