<div dir="ltr">I don't know anything about haskell, but if you post a minimal reproducer here <div>we *may* be able to help. </div><div><br></div><div>--kcc </div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 5, 2017 at 11:35 PM, Erik de Castro Lopo via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have haskell code that calls into C code and i'd like to compile the C<br>
code with ASAN. I've managed to convince the build system to compile the<br>
C code with '-fsanitize=address -g' (so that if I get a link errors of<br>
the ASAN library isn't linked) and then also managed to link libasan,<br>
but when my trivial test program with an obvious out-of-bounds access<br>
run, I don't get the ASAN error I was expecting.<br>
<br>
Is there some ASAN initialisation step that isn't happening?<br>
<br>
Any clues appreciated.<br>
<br>
Cheers,<br>
Erik<br>
<span class="HOEnZb"><font color="#888888">--<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
Erik de Castro Lopo<br>
<a href="http://www.mega-nerd.com/" rel="noreferrer" target="_blank">http://www.mega-nerd.com/</a><br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</font></span></blockquote></div><br></div></div>