sanitizers support for windows??
Stephen M. Webb
stephen.webb@bregmasoft.ca
Fri Sep 17 12:02:34 GMT 2021
On 2021-09-17 07:52, unlvsur unlvsur via Libstdc++ wrote:
> I find that clang can build sanitizers correctly but libstdc++ does not work with sanitizers since it does not support related functionalities with sanitizers on windows.
>
> Can we start to add support for sanitizers for windows?? I honestly do not think that would take a huge amount of time.
Our experience at QNX is that other than ubsan, the santizers require considerable interworking with the GNU libc and
are not trivial to port to an OS that uses a different libc. Since these are actually third-party software any porting
effort or contribution should probably go through the upstream LLVM project to avoid forking.
Don't let that stop you from developing a port though.
--
Stephen M. Webb <stephen.webb@bregmasoft.ca>
More information about the Gcc
mailing list