<div dir="ltr"><div>Hello all,</div><div><br></div><div>I was interested in building the GHC RTS with GCC's AddressSanitizer and Ubsan enabled. <br></div><div><br></div><div>What I want to do very specifically is to pass <span class="gmail-pl-smi">"<span class="gmail-pl-smi">-<span style="font-family:courier new,monospace">fsanitize</span></span><span style="font-family:courier new,monospace">=address -fsanitize=undefined</span>" when compiling the RTS. <br></span></div><div><span class="gmail-pl-smi"><br></span></div><div><span class="gmail-pl-smi">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? </span></div><div><span class="gmail-pl-smi">Thanks,</span></div><div><span class="gmail-pl-smi">~Siddharth<br></span></div></div>