Sujet : A glimpse of sanity De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram) Groupes :comp.lang.c Date : 28. May 2024, 15:49:33 Autres entêtes Organisation : Stefan Ram Message-ID :<UBSan-20240528143651@ram.dialup.fu-berlin.de>
LLVM-MinGW is a toolchain built with Clang, LLD, libc++, targeting i686, x86_64, arm and aarch64 (ARM64) running on Windows.
They say it supports Address Sanitizer und Undefined Behaviour Sanitizer.
Whenever I add "-fsanitize=address" or "-fsanitize=undefined" on Windows, the executables will run, but not do anything, just return immediately. Neither is normal output printed nor are diagnostics when trying to trigger the sanitizers. Without those options, the programs will run fine.
It tried adding "-lclang_rt.asan-x86_64", but then it complains about duplicate symbols, so I guess that this is not needed.
I also made sure the directory containing "libclang_rt.asan_dynamic-x86_64.dll" is in the PATH.
So, I can't get the sanitizers to work here! I'll just try downloading another version in a few months . . .