Details
Details
Diff Detail
Diff Detail
Event Timeline
This comment was removed by mgrang.
lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
5238 | This won't work for a varags function; in that case, this would point to the spill of r7, not lr. Maybe it would be more straightforward to just compute it as FP+8? I think you need to call MFI.setFrameAddressIsTaken(true); or something like that to ensure lr is spilled. |
lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
5238 | MSVC always seem to generate: ldr lr,[sp],#0x10 |
This won't work for a varags function; in that case, this would point to the spill of r7, not lr. Maybe it would be more straightforward to just compute it as FP+8?
I think you need to call MFI.setFrameAddressIsTaken(true); or something like that to ensure lr is spilled.