在 2026-6-15 04:26, Pali Rohár 写道:
So based on this I'm proposing the following changes:
- completely remove __mingw_init_ehandler and replace by new code

This change should be correct.


- register unwind code for standard prologue (push %rbp; mov %rsp %rbp)
   for all executable code in the module (for both exe and dll builds)

But this isn't correct unwind code; it leaves non-volatile registers (RBX, R[SD]I, R1[2345], and XMM6-15) clobbered, and it has no information of stack allocation.


Please let me know what do you think about it. If I should continue on
this direction and create final version of this change. Or this is wrong
direction and something different should be done.
I think that any builds that have SEH disabled are unsupported -- not just because of exceptions, longjmp also won't work reliably.



--
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