Re: [PATCH] i386: Update INCOMING_FRAME_SP_OFFSET for exception handler

2017-07-30 Thread Uros Bizjak
On Sat, Jul 29, 2017 at 4:22 PM, H.J. Lu wrote: > Since there is an extra error code passed to the exception handler, > INCOMING_FRAME_SP_OFFSET is return address plus error code for the > exception handler. This patch updates INCOMING_FRAME_SP_OFFSET to > the correct value for the exception hand

[PATCH] i386: Update INCOMING_FRAME_SP_OFFSET for exception handler

2017-07-29 Thread H.J. Lu
Since there is an extra error code passed to the exception handler, INCOMING_FRAME_SP_OFFSET is return address plus error code for the exception handler. This patch updates INCOMING_FRAME_SP_OFFSET to the correct value for the exception handler. This patch exposed a bug in DWARF stack frame CFI g