[Bug 49828] MSVC 2019 executables with ASAN enabled fail to start

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 30 19:26:16 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=49828

Jacek Caban <jacek at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jacek at codeweavers.com

--- Comment #3 from Jacek Caban <jacek at 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/X86MCInstLower.cpp#L1386

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)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list