[PATCH] ntdll: Only call wine exception handlers on the current stack.

Jacek Caban jacek at codeweavers.com
Tue Feb 1 10:00:15 CST 2022


On 2/1/22 16:25, Martin Storsjö wrote:
> On Tue, 1 Feb 2022, Jacek Caban wrote:
>
>> On 2/1/22 13:57, Paul Gofman wrote:
>>> Not sure though if that is good enough though, the prior 
>>> understanding was that these sort of fixes are waiting for mingw 
>>> .seh support.
>>
>> It's not just SEH support that's missing in mingw (in fact, GCC mingw 
>> already supports SEH on x86_64 and llvm-mingw on all targets),
>
> Just a minor clarification here - the above statement is true for 
> x86_64 and aarch64; clang uses SEH on those architectures in both MSVC 
> and mingw mode.
>
> For i386, clang does use the MSVC exception handling mechanism in MSVC 
> mode, but in mingw mode, it uses dwarf instead (and can use sjlj as an 
> alternative).


Thanks for clarification. I thought there was a way to force SEH on i386 
in mingw mode. I can't find it now, but I recall some discussions and 
Firefox trying to use it with their clang mingw builds (without much 
success). I must remember it wrong.


Thanks,

Jacek




More information about the wine-devel mailing list