This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 0/2] nptl: Update struct pthread_unwind_buf
On Sun, Feb 25, 2018 at 5:49 AM, Florian Weimer <firstname.lastname@example.org> wrote:
> * H. J. Lu:
>> On Sun, Feb 25, 2018 at 5:31 AM, Florian Weimer <email@example.com> wrote:
>>> * H. J. Lu:
>>>> libpthread cancellation implementation passes cancel_jmp_buf to
>>>> libgcc unwinder,
>>> Oh. Where does it do that? If you mean _Unwind_ForcedUnwind, I think
>>> that's just an opaque closure argument for the callback.
>> Yes. Libgcc unwinder needs to deal with it.
> Please point me to the code. Thanks.
_Unwind_ForcedUnwind (struct _Unwind_Exception *exc, _Unwind_Stop_Fn stop,
if (__glibc_unlikely (libgcc_s_handle == NULL))
(struct _Unwind_Exception *, _Unwind_Stop_Fn, void *)
return forcedunwind (exc, stop, stop_argument);