[PATCH] [PowerPC] Fix unwind info with dynamic stack realignment
Jay Foad
jay.foad at gmail.com
Wed Nov 26 09:40:42 PST 2014
Incidentally, is there any need to have accurate unwind info *before* we copy SP to FP? If not, we could do it all after the copy to FP, simplifying the code a bit and probably saving the odd byte in the CFI encoding:
```
if (HasBP)
.cfi_def_cfa_register BP
else if (HasFP)
.cfi_def_cfa FP, NegFrameSize
else
.cfi_def_cfa_offset NegFrameSize
```
http://reviews.llvm.org/D6410
More information about the llvm-commits
mailing list