[PATCH] D9259: [PowerPC]Adapt fast stack unwinding to work for Power.
Bill Schmidt
wschmidt at linux.vnet.ibm.com
Mon Jul 27 20:18:47 PDT 2015
wschmidt added a comment.
Thus I can fix this by making the following changes to Bill Seurer's patch:
- Remove changes involving stack popping;
- Remove the kFastUnwindAddPC change; and
- Change calculation of pc1 as follows:
#ifdef __powerpc__
uhwptr *caller_frame = (uhwptr*)frame[0];
if (!IsValidFrame((uptr)caller_frame, stack_top, bottom))
break;
uhwptr pc1 = caller_frame[kOffsetToPcInFrame];
#else
uhwptr pc1 = frame[kOffsetToPcInFrame];
#endif
http://reviews.llvm.org/D9259
More information about the llvm-commits
mailing list