On Tue, 3 Aug 2021, Jeremy Drake wrote:

While debugging this, noticed ruby seems to make *extensive* use of
setjmp/longjmp.  Originally it was trying to use __builtin_setjmp but that
was crashing around the setjmp call (maybe clang's __builtin_setjmp wants
a different size of jmp_buf?).

FWIW, IIRC, __builtin_setjmp is something entirely different from the regular setjmp/longjmp, maybe related to the SJLJ unwind mechanism, i.e. same operating principle, but the implementation details are different.

// Martin



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

Reply via email to