|
From: | grischka |
Subject: | Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler. |
Date: | Wed, 10 Apr 2019 20:57:49 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Michael Matz wrote:
So let's find out what causes the difference: if you can send me ...
Well, see win32/lib/chkstk.S, at the bottom /* SEH on x86-64 not implemented */ ;) One could try the code below instead but I would need some time to rethink how good it is. --- grischka static LONG __stdcall catch_sig(EXCEPTION_POINTERS *ex_info) { return _XcptFilter(ex_info->ExceptionRecord->ExceptionCode, ex_info); } SetUnhandledExceptionFilter(catch_sig);
(I'm not currently setup to run Windows anywhere, so can't really help debugging the problem any other way). Ciao, Michael. _______________________________________________ Tinycc-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |