<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 5:32 PM, Kuba Brecka <span dir="ltr"><<a href="mailto:kuba.brecka@gmail.com" target="_blank">kuba.brecka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hm, one of the buildbots is complaining (already fixed it with r218483).<div><br><div><pre style="font-family:'Courier New',courier,monotype,monospace;color:rgb(0,0,0)"><span>FAIL: AddressSanitizer64 :: TestCases/debug_locate.cc (432 of 21228)
******************** TEST 'AddressSanitizer64 :: TestCases/debug_locate.cc' FAILED ********************
Script:
--
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.obj/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.src/projects/compiler-rt/test/asan/TestCases/debug_locate.cc -o /home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Output/debug_locate.cc.tmp && /home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Output/debug_locate.cc.tmp 2>&1
--
Exit Code: 23
Command Output (stdout):
--
=================================================================
==28707==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 10 byte(s) in 1 object(s) allocated from:
#0 0x481cab in malloc /home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40
#1 0x4a0971 in main /home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.src/projects/compiler-rt/test/asan/TestCases/debug_locate.cc:17:28
#2 0x7f88c07dfb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
SUMMARY: AddressSanitizer: 10 byte(s) leaked in 1 allocation(s).
--
</span></pre></div><div><span><br></span></div><div><span>Do we have LeakSanitizer on by default on Linux? I thought it's off unless you specifically turn it on with ASAN_OPTIONS, at least that's what <a href="https://code.google.com/p/address-sanitizer/wiki/Flags" target="_blank">https://code.google.com/p/address-sanitizer/wiki/Flags</a> says.</span></div><span class="HOEnZb"><font color="#888888"><div><span><br></span></div></font></span></div></div></blockquote><div><br></div><div>Yes, lsan is on by default, I've just fixed the wiki. </div><div>lsan is linux-only currently. </div><div><br></div><div>--kcc </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span class="HOEnZb"><font color="#888888"><div><span></span></div><div><span>Kuba</span></div><div><span><br></span></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 5:05 PM, Kuba Brecka <span dir="ltr"><<a href="mailto:kuba.brecka@gmail.com" target="_blank">kuba.brecka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Landed in r218481, thanks for review!<br>
<br>
<a href="http://reviews.llvm.org/D4527" target="_blank">http://reviews.llvm.org/D4527</a><br>
<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>