在 2025-12-26 11:31, LIU Hao 写道:
在 2025-12-26 07:08, Pali Rohár 写道:
WinSDK header files also defines EXCEPTION_DISPOSITION as enum.
---
  mingw-w64-headers/crt/excpt.h | 13 ++++++-------
  1 file changed, 6 insertions(+), 7 deletions(-)


Somewhere in libunwind, an integer is returned (maybe it should be fixed in libubwind), so this breaks libunwind somehow:


https://github.com/llvm/llvm-project/blob/7dcd69880102cda2fe1a43f3356abb0ec41f2dc4/libunwind/src/Unwind- seh.cpp#L166

Looks like it's not an actual return to Windows, but a magic value for internal 
use in libunwind:

https://github.com/llvm/llvm-project/blob/7dcd69880102cda2fe1a43f3356abb0ec41f2dc4/libunwind/src/Unwind-seh.cpp#L272


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