mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-30 19:55:11 +00:00
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:
parent
a37c0d278b
commit
b4e6e4e78d
@ -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
Block a user