在 2026-5-31 01:01, Pali Rohár 写道:
Maybe it is better to check it unconditionally on all archs.
Additional check on amd64 should not cause an issue, it should be always 
negative.
And we do not think if the #ifdef is correct and does not miss something.

Yes.


Anyway, for completeness we should for all 4 unwind flags, not just the first 
one:
EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND | EXCEPTION_TARGET_UNWIND | 
EXCEPTION_COLLIDED_UNWIND

`EXCEPTION_EXIT_UNWIND` is set with `EXCEPTION_UNWINDING`.

As for others, I don't know: What can happen if a new exception is raised during unwinding? It probably needs testing.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to