[LLVMdev] Out of tree targets: API Change to MFI::CreateStackObject
Joshua Magee
joshua_magee at playstation.sony.com
Mon Dec 16 20:11:32 PST 2013
Hi,
I will soon be committing a change to MachineFrameInfo::CreateStackObject
that removes the "bool MayNeedSP" parameter. This API change is part of larger
patch that re-works stack layout passes to use analysis from the StackProtector
pass to layout StackProtected objects (http://llvm-reviews.chandlerc.com/D2158).
Out of tree targets will need to update their usage accordingly. The most
likely scenarios will be along these lines:
- CreateStackObject(Size, Alignment, false /*isSS*/, false /*MayNeedSP*/);
+ CreateStackObject(Size, Alignment, false /*isSS*/);
Or:
- CreateStackObject(Size, Alignment, false /*isSS*/, false /*MayNeedSP*/, AI);
+ CreateStackObject(Size, Alignment, false /*isSS*/, AI);
Thanks,
- Josh
More information about the llvm-dev
mailing list