public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* sanitizers support for windows??
@ 2021-09-17 11:52 unlvsur unlvsur
  2021-09-17 12:02 ` Stephen M. Webb
  0 siblings, 1 reply; 2+ messages in thread
From: unlvsur unlvsur @ 2021-09-17 11:52 UTC (permalink / raw)
  To: gcc, unlvsur unlvsur via Libstdc++

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.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sanitizers support for windows??
  2021-09-17 11:52 sanitizers support for windows?? unlvsur unlvsur
@ 2021-09-17 12:02 ` Stephen M. Webb
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen M. Webb @ 2021-09-17 12:02 UTC (permalink / raw)
  To: gcc, unlvsur unlvsur via Libstdc++

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-17 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 11:52 sanitizers support for windows?? unlvsur unlvsur
2021-09-17 12:02 ` Stephen M. Webb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).