<div dir="ltr"><div class="gmail_default" style>Did you checkout compiler-rt? </div><div class="gmail_default" style>This page has detailed info on building asan: <a href="http://code.google.com/p/address-sanitizer/wiki/HowToBuild?tm=4">http://code.google.com/p/address-sanitizer/wiki/HowToBuild?tm=4</a></div>
<div class="gmail_default" style><br></div><div class="gmail_default" style>--kcc </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 9:38 PM, Devchandra L Meetei <span dir="ltr"><<a href="mailto:dlmeetei@gmail.com" target="_blank">dlmeetei@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks All<br>In fact, to answer Pete, I was trying to do as much as possible like valgrind including as much as possible, which includes all tools.<br>
M very elated to know about ASan, given the fact that LLVM is Compile time whereas valgrind is Dynamic, need to rethink, <br>
<br>Can you guys check this. build clang 3.2 but I got this linker error. Let me also examine closely<br>clang++ -W -Wall -Wno-unused-parameter -Wno-unused-value -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -Wno-unused-function -Werror=unused-variable -fsanitize=address -fno-omit-frame-pointer -g -m64 -fvisibility=hidden -fPIC -Xlinker -rpath -Xlinker /home/deleisha/CodeSpace/pegasus/pkg/lib -L/home/deleisha/CodeSpace/pegasus/pkg/lib -o /home/deleisha/CodeSpace/pegasus/pkg/bin/slp_query /home/deleisha/CodeSpace/pegasus/pkg/obj/slp/slp_client/src/cmd-utils/slp_query/slp_query.o -lpegslp_client -ldl -lpthread -lcrypt<br>

/usr/bin/ld: /usr/local/bin/../lib/clang/3.2/lib/linux/libclang_rt.asan-x86_64.a: No such file: No such file or directory<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 10:13 PM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Will LLVM be suitable for developing valgrind like tools<br>
</blockquote>
<br></div>
It is already used by several such tools, eg ASAN, klee.<br>
<br>
Ciao, Duncan.<div><div><br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>