[LLVMdev] Will LLVM be suitable for developing valgrind like tools
kcc at google.com
Mon Jan 7 09:47:03 PST 2013
Did you checkout compiler-rt?
This page has detailed info on building asan:
On Mon, Jan 7, 2013 at 9:38 PM, Devchandra L Meetei <dlmeetei at gmail.com>wrote:
> Thanks All
> 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.
> M very elated to know about ASan, given the fact that LLVM is Compile time
> whereas valgrind is Dynamic, need to rethink,
> Can you guys check this. build clang 3.2 but I got this linker error. Let
> me also examine closely
> 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
> -lpegslp_client -ldl -lpthread -lcrypt
> /usr/local/bin/../lib/clang/3.2/lib/linux/libclang_rt.asan-x86_64.a: No
> such file: No such file or directory
> On Mon, Jan 7, 2013 at 10:13 PM, Duncan Sands <baldrick at free.fr> wrote:
>> Will LLVM be suitable for developing valgrind like tools
>> It is already used by several such tools, eg ASAN, klee.
>> Ciao, Duncan.
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev