<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylVV2PmzoQ_TXkxQoyBkJ44CHtaqWVttVK96qV-rIa8ATcGpvapsn213dMNtlo71WrthFBnhl7znycMa2VT81HZZAp72dkazaEMPkk3yXilp527n16IPvwNbWuJ40f7OGR1GnXqyS_VTLJb0pe13nCbxK-O71308Q6O05Ko2QHFQa2k9Kh98yDUUF9R3dSh0F5dn__4R1rZ6VlIraLkOWJqP8TTE8n5jYlxySMPljnP1taav1tXI_K9AcSHGoEjz4Rb9lhQMPcbAzZ2B6U9izYqLgCHykq6DGCXCWQbPjzs4ici4527NVxjDtjQaSCnpb30t3FjEBTUv8Os_nConXtA_QRtUo5lZYBC-hDVHxD55U1VB4TQC2R4XFCp0YkhWYThG5An_4B8MOSOYuOIsKTnR35hi5cQJeC7JWOqNRD5nCyLngWTZcmn6EzXhAOOkfv0cpZ4__DJkJo1XYaTP_oQgrU4kf5ZGBU3fq43TxuilRqTbuWFhAhqAfq4iP2CVqKgmL6TeCLHNMhCM_21rF7QvoU21m-pWewVLhl5WAP-rR8sK0D86x_Yc9acJFlVPL13LmwntvZhHmdbVNePCdyOrHbPTuHFI_4klhMhfoeZs-2fPnlr9jErjn24PAyI60y4BQu_IxMIe4n5Zvdzd379LuakvKGJuMnwxBzOA_C5Oxn7AKJ1Og4B7dVXfJNzml1cSjq60juzGkWDpeLIKYSBnTIgP7izMoYXgQh9kokNqluoOWsJZHqePJxOr64_dVVAiFAN0S6Xl8mVbapqkRsiLdEWVJItd__lUMu8vy1w5VsclnnNaxgDoN1zVdwRILV7HTz24Veco6VLvOiKFdD0wmU0BY5dqJEqGHTQt1xXm63WHXbWq40tKh9Qz0m-hg8nKsuqNWrv49ANURlwTNRZXmWF2WKUFWZbGFbFG3RlUVScByJtGn0E6u3cs3iMhaVjFr54F-M4L3qDeISMEUYVNDYnO_0fy53urToTSKqwA7WfWGzkaSMn5fVEmCzRPcDSx0YCw>53445</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Address Sanitizer doesn't work under Wine
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          qarmin
      </td>
    </tr>
</table>

<pre>
    Wine issue - https://bugs.winehq.org/show_bug.cgi?id=50993

App compiled with Address sanitizer with this LLVM build(LLVM 13) - https://github.com/mstorsjo/llvm-mingw/releases, when running fails to run with this message:

```
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0104:err:module:LdrInitializeThunk "libclang_rt.asan_dynamic-x86_64.dll" failed to initialize, aborting
0104:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\home\\rafal\\Pobrane\\llvm-mingw-20211002-ucrt-ubuntu-18.04-x86_64\\AAA\\a.exe" failed, status 80000003
``` 

Precompiled binaries to test - [ADIN.zip](https://github.com/llvm/llvm-project/files/7950630/ADIN.zip)

In this wine issue, there are 2 patches to llvm code which could fix this issue
https://bugs.winehq.org/attachment.cgi?id=71677&action=diff
https://bugs.winehq.org/attachment.cgi?id=70233&action=diff
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylVNuO2zYQ_Rr5hbBAkZJlPejByWKBBbbFAi1aoC8LShxJTChS4SX25us7lNdeIwlSpDFogTMk58zlzHRWvrR_KwNEeR-BbMkUwuIzfsjYPa4ujj4_4vn0KbduRI2f7PEZ1Xk_qozfK5nxu4o2Dc_oXUYP5-9hWUhv50VpkOSowkQOUjrwnnhhVFBfwJ3VYVKePD7-9RvpotIyY_tVKHjGmm-cGfFF7HI0jMLsg3X-g8Wt1p_n7azMeETBgQbhwWfsPTlOYIiLxuAZGYTSngSbFDfgM3olRkggNwFkO_q6VpFS1uONQZ3mdDMlRCox4vZRuocUkdAY1J9TNB9JOt36IMaEWucUU0sECeBDUnwG55U1mB4ThFo9g9MCTs2ACk0WEfoJfP4_gJ_WyEkylBBebHRoW_ThCromZFA6oWINiYPFuuBJOroW-QJd0BJxwDn8zlZGDd-HzRjTquu1MOOzC7nAEj_LFyNm1W9P-93zrsyl1nhrLQESAmugrjZSnUSHXqBPPwl8lVM4COHJYB15RKR_Ujmr97gmi4lbd04MQp-3T7Zzwrzq39izZZQVBaZ8G3sXtrGLJsRtsc9p-RrI-cXh8Gpc5HCCt8BSKFj3ED3Z0_XHv2ITueXYk4Nrj3TKCKdg5WdiCnI_q94d7h5-z7-oJavusDN-0AwphksjLM5-gD6giIVOfXBfNxXdcYq7q0HW3HryYM69cLwOghRKmMABEfhnF1Ym9xIIslcCskn1E26jlkiq09nG-flq9r9GiQhB9FOi6-0wqYtdXWdsh7xFyqJCqmH4JYOUcf61wY1suWx4IzZBBQ3tZT79cZ1P0oI3GasDOVr3kUQjUZlG5SY63f50Mda8pGpUvCyrzdQWIOuC00p2wKnk5SAbWkLJ6kIMvAG50aID7VvkAVLMwPFSGYZ02KgWycpogdd5wcsqB1HXhezEviy7sq_KrKQwIy3z5EfKz8a1q0spbXiolQ_-7VB4r0YDsMKhfRHDZF37SThsjc2K3K6e_wvj_gH7">