Cleanly setting C compiler options when building RTS

Siddharth Bhat siddu.druid at gmail.com
Thu Jul 11 09:19:25 UTC 2019


Hello all,

I was interested in building the GHC RTS with GCC's AddressSanitizer and
Ubsan enabled.

What I want to do very specifically is to pass "-fsanitize=address
-fsanitize=undefined" when compiling the RTS.

What's the "correct" way to set this up in the build system? Is there a
configure flag? Do I need to change the Shake script?
Thanks,
~Siddharth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190711/e4a52421/attachment.html>


More information about the ghc-devs mailing list