[LLVMdev] How do I add suppressions to LSan when testing LLVM with ASan enabled?

Chandler Carruth chandlerc at google.com
Wed Jan 14 02:27:44 PST 2015


I get leaks from a system library:

==16272==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 148 byte(s) in 2 object(s) allocated from:
    #0 0x4a3172 in __interceptor_malloc
.../build/../projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
    #1 0x7f575d8df1fe in wcsdup (/lib64/libedit.so.0+0x1c1fe)

I don't think I can fix this... ;]

-Chandler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150114/ceade57d/attachment.html>


More information about the llvm-dev mailing list