[PATCH] D115103: Leak Sanitizer port to Windows

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 6 14:39:12 PST 2022


rnk added a comment.

In D115103#3209468 <https://reviews.llvm.org/D115103#3209468>, @vitalybuka wrote:

> In D115103#3209326 <https://reviews.llvm.org/D115103#3209326>, @clemenswasser wrote:
>
>> @vitalybuka
>> No `check-asan` **doesn't work** for me. It just hangs forever and does absolutely nothing. No output, nothing showing up in Task Manager with high CPU usage or anything.
>> However `check-clang` **does work**. Is there some documentation on running `check-asan` on windows.
>> I also saw that none of the Windows buildbots check/test anything related to sanitizers. It seems to me that none of the sanitizer stuff gets ever tested on Windows?
>> Do the test for sanitizers_common/asan/ubsan/etc. even work on Windows?
>
> This one runs asan on Windows, you can try to replicated using logs. https://lab.llvm.org/buildbot/#/builders/127
> I rarely work on Windows, but i did similar setup some time ago.

I will just confirm that `check-asan` is supposed to work, it worked for me a few months ago, and the linked buildbot tests it continuously.

However, WinASan is very sensitive to the OS and SDK version. The failure mode you described sounds plausible, something like a crash on startup that results in a message box that you can't see or something like that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115103/new/

https://reviews.llvm.org/D115103



More information about the cfe-commits mailing list