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

Martin Storsjö martin at martin.st
Tue Feb 1 09:25:39 CST 2022


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

For arm32, it doesn't support SEH generation at all. (In MSVC mode, it 
just refuses to generate unwind information, and in mingw mode, it 
defaults to dwarf).

// Martin




More information about the wine-devel mailing list