https://bugs.winehq.org/show_bug.cgi?id=49828
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #3 from Jacek Caban jacek@codeweavers.com --- It should work better when clang is used in MSVC mode. clang emits 'movl %edi,%edi' prologue for RaiseException for me. If I read it right:
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/X86/X86MCInst...
the decision is made based on target, so I don't see any way to enable that for llvm-mingw without patching LLVM.
Also LLD seems to supports /functionpadmin option, which we probably should use (but it may not be needed here).
If you have llvm-mingw installed, then it will be used by consigure to build Wine with mingw target. To force MSVC target, you may use something like: configure CROSSCC=clang (it may still use clang shipped with llvm-mingw, just in a different way)