Discussion:
[Mingw-w64-public] Does clang sanitizers supposed to work on mingw64?
Lev Serebryakov
2017-06-19 18:16:11 UTC
Permalink
Hello Mingw-w64-public,

I have installed:

mingw-w64-x86_64-clang 4.0.0-1
mingw-w64-x86_64-clang-analyzer 4.0.0-1
mingw-w64-x86_64-clang-tools-extra 4.0.0-1
mingw-w64-x86_64-compiler-rt 4.0.0-1

And I could not link project which is compiled with UB sanitizer, as linker
could not find any __ubsan_handle_XXX symbols. Looks like mingw64 build of
clang miss something?
--
Best regards,
Lev mailto:***@serebryakov.spb.ru
Liu Hao
2017-06-20 01:47:06 UTC
Permalink
Post by Lev Serebryakov
Hello Mingw-w64-public,
mingw-w64-x86_64-clang 4.0.0-1
mingw-w64-x86_64-clang-analyzer 4.0.0-1
mingw-w64-x86_64-clang-tools-extra 4.0.0-1
mingw-w64-x86_64-compiler-rt 4.0.0-1
And I could not link project which is compiled with UB sanitizer, as linker
could not find any __ubsan_handle_XXX symbols. Looks like mingw64 build of
clang miss something?
AFAIK sanitizers haven't been ported to Windows.
--
Best regards,
LH_Mouse
Loading...