On Saturday 30 May 2026 23:54:24 LIU Hao wrote:
> 在 2026-5-30 23:41, Pali Rohár 写道:
> > Unwinding phase for non-i386 builds is already skipped via asm .seh_handler
> > directive where is specified only @except keyword.
> > 
> > For i386 builds the skip needs to be explicit in SetThreadName_SEH handler
> > itself as i386 build does not use asm .seh_handler directive.
> > ---
> >   mingw-w64-libraries/winpthreads/src/thread.c | 6 ++++++
> >   1 file changed, 6 insertions(+)
> 
> `@unwind` is only supported on x86-64 which indicates `UNW_FLAG_UHANDLER` in
> unwinding information. On ARM and ARM64 there's only one type of handler
> which is invoked in both cases.

Ok, so if that handler is called on arm also for unwind phase then we
should skip EXCEPTION_UNWINDING case also for arm builds.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to