<div dir="ltr"><div><br></div>I guess the main problem is that we are not testing asan on Android/x86, although we should. <div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 2:04 AM, Greg Fitzgerald <span dir="ltr"><<a href="mailto:garious@gmail.com" target="_blank">garious@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 class="im">> We have plans to actually compile the symbolizer into the binary and do<br>
> in-process symbolization, but it's not there yet.<br>
<br>
</div>nice!<br>
<div class="im"><br>
<br>
> I'm confused here. compiler-rt and clang/llvm instrumentation depend on each other<br>
<br>
</div>These two projects don't need to be interdependent and, for the most<br>
part, they aren't.  In the same way that llvm does not depend on<br>
clang, compiler-rt can be standalone too if the sanitizer's<br>
instrumentation tests were moved to clang. compiler-rt is just a C<br>
library and its functions can be tested in isolation.<br>
<div class="im"><br>
<br>
> our bots seem to be green. Could you refer to guilty svn revision?<br>
<br>
</div>Hmm, I just did another clean build, just to be sure.    I<br>
consistently have see 14 failures (tests and logs below).  I believe<br>
r182853 broke the SanitizerCommon tests and r182854 broke the asan<br>
tests, but I'm not 100% certain and unfortunately don't have time to<br>
dive into this one.  Would you mind taking a quick scan of the logs<br>
below and letting me know if anything stands out to you.<br>
<br>
Failing Tests (14):<br>
    AddressSanitizer :: Linux/unpoison_tls.cc<br>
    AddressSanitizer :: deep_thread_stack.cc<br>
    AddressSanitizer-Unit :: Asan-i386-Test/AddressSanitizer.ManyThreadsTest<br>
    AddressSanitizer-Unit :: Asan-i386-Test/AddressSanitizer.PthreadExitTest<br>
    AddressSanitizer-Unit :: Asan-i386-Test/AddressSanitizer.ThreadNamesTest<br>
    AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadStackReuseTest<br>
    AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedMallocStressTest<br>
    AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedOneSizeMallocStressTest<br>
    AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedQuarantineTest<br>
    AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedStressStackReuseTest<br>
    AddressSanitizer-Unit :: Asan-i386-Test/AddressSanitizer.ThreadedTest<br>
    AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizerInterface.ManyThreadsWithStatsStressTest<br>
    SanitizerCommon-Unit ::<br>
Sanitizer-i386-Test/SanitizerCommon.ThreadStackTlsWorker<br>
    SanitizerCommon-Unit ::<br>
Sanitizer-i386-Test/SanitizerLinux.ThreadDescriptorSize<br>
<br>
<br>
Here's the log.  Anything stand out to you?<br>
<br>
-- Testing: 15209 tests, 4 threads --<br>
Testing:<br>
FAIL: AddressSanitizer :: Linux/unpoison_tls.cc (19 of 15209)<br>
******************** TEST 'AddressSanitizer :: Linux/unpoison_tls.cc'<br>
FAILED ********************<br>
Script:<br>
--<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -O1<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/Linux/unpoison_tls.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp<br>
2>&1<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -O1<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/Linux/unpoison_tls.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp<br>
2>&1<br>
--<br>
Exit Code: 1<br>
Command Output (stdout):<br>
--<br>
==19600==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf6111030,<br>
0xf6111000)<br>
    #0 0x8069d63<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp+0x8069d63)<br>
    #1 0x806d30b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp+0x806d30b)<br>
    #2 0x8074342<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp+0x8074342)<br>
    #3 0x806afc8<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp+0x806afc8)<br>
    #4 0x806b2ee<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp+0x806b2ee)<br>
    #5 0x805e07d<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Linux/Output/unpoison_tls.cc.tmp+0x805e07d)<br>
    #6 0xf76c496d (/lib32/libpthread.so.0+0x596d)<br>
--<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer :: deep_thread_stack.cc (32 of 15209)<br>
******************** TEST 'AddressSanitizer :: deep_thread_stack.cc'<br>
FAILED ********************<br>
Script:<br>
--<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -O0<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -O1<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -O2<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -O3<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -O0<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -O1<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -O2<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
/local/mnt/workspace/draco/out/release_stage2/bin/clang -ccc-cxx<br>
-fsanitize=address -mno-omit-leaf-frame-pointer<br>
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -O3<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
-o /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
&& /local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/lit_tests/Output/deep_thread_stack.cc.tmp<br>
2>&1 |  /local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/../lit_tests/../scripts/asan_symbolize.py<br>
| c++filt | FileCheck<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc<br>
--<br>
Exit Code: 1<br>
Command Output (stderr):<br>
--<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/lit_tests/deep_thread_stack.cc:52:11:<br>
error: expected string not found in input<br>
// CHECK: AddressSanitizer: heap-use-after-free<br>
          ^<br>
<stdin>:1:1: note: scanning from here<br>
==19996==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf612e030,<br>
0xf612e000)<br>
^<br>
<stdin>:1:7: note: possible intended match here<br>
==19996==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf612e030,<br>
0xf612e000)<br>
      ^<br>
--<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ManyThreadsTest (119 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ManyThreadsTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ManyThreadsTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ManyThreadsTest<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf31f7030,<br>
0xf31f7000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf467c030,<br>
0xf467c000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xed2c5030,<br>
0xed2c5000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xef8d9030,<br>
0xef8d9000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf2872030,<br>
0xf2872000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf025e030,<br>
0xf025e000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xee5cf030,<br>
0xee5cf000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xeef54030,<br>
0xeef54000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xedc4a030,<br>
0xedc4a000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf1eed030,<br>
0xf1eed000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xec940030,<br>
0xec940000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf1568030,<br>
0xf1568000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf3b7c030,<br>
0xf3b7c000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xebfbb030,<br>
0xebfbb000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xeacb1030,<br>
0xeacb1000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf0be3030,<br>
0xf0be3000)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:126<br>
"((allocated_end_ - allocated_current_ >= (sptr)size)) != (0)" (0x0,<br>
0x0)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:126<br>
"((allocated_end_ - allocated_current_ >= (sptr)size)) != (0)" (0x0,<br>
0x0)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:126<br>
"((allocated_end_ - allocated_current_ >= (sptr)size)) != (0)" (0x0,<br>
0x0)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #0 0x806c0e3==21625==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:126<br>
"((allocated_end_ - allocated_current_ >= (sptr)size)) != (0)" (0x0,<br>
0x0)<br>
 (/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf766d96d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.PthreadExitTest (131 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.PthreadExitTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.PthreadExitTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.PthreadExitTest<br>
==21955==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf457b030,<br>
0xf457b000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf762196d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadNamesTest (161 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadNamesTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ThreadNamesTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadNamesTest<br>
==22250==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf467c030,<br>
0xf467c000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf769496d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadStackReuseTest (162 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadStackReuseTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ThreadStackReuseTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadStackReuseTest<br>
==22256==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf457b030,<br>
0xf457b000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf761196d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedMallocStressTest (164 of<br>
15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedMallocStressTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ThreadedMallocStressTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadedMallocStressTest<br>
==22260==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf30f7030,<br>
0xf30f7000)<br>
==22260==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf457b030,<br>
0xf457b000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf760596d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedOneSizeMallocStressTest (165<br>
of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedOneSizeMallocStressTest'<br>
FAILED ********************<br>
Note: Google Test filter = AddressSanitizer.ThreadedOneSizeMallocStressTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadedOneSizeMallocStressTest<br>
==22262==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf2872030,<br>
0xf2872000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf76aa96d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedQuarantineTest (166 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedQuarantineTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ThreadedQuarantineTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadedQuarantineTest<br>
==22272==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf457b030,<br>
0xf457b000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf75ca96d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedStressStackReuseTest (167 of<br>
15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedStressStackReuseTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ThreadedStressStackReuseTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadedStressStackReuseTest<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf3a7c030,<br>
0xf3a7c000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf457b030,<br>
0xf457b000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xef7d9030,<br>
0xef7d9000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf015e030,<br>
0xf015e000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf1ded030,<br>
0xf1ded000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf2772030,<br>
0xf2772000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xeee54030,<br>
0xeee54000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf1468030,<br>
0xf1468000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf0ae3030,<br>
0xf0ae3000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xedb4a030,<br>
0xedb4a000)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf30f7030,<br>
0xf30f7000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xeabb1030,<br>
0xeabb1000)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf75e096d (/lib32/libpthread.so.0+0x596d)<br>
==22274==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xebebb030,<br>
0xebebb000)<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedTest (168 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizer.ThreadedTest' FAILED<br>
********************<br>
Note: Google Test filter = AddressSanitizer.ThreadedTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizer<br>
[ RUN      ] AddressSanitizer.ThreadedTest<br>
/local/mnt/workspace/draco/compiler-rt/lib/asan/tests/asan_test.cc:860: Failure<br>
Death test: ThreadedTestSpawn()<br>
    Result: died but not with expected error.<br>
  Expected: Thread T.*created.*Thread T.*created.*Thread T.*created<br>
Actual msg:<br>
[  DEATH   ] ==22299==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xf3c7c030,<br>
0xf3c7c000)<br>
[  DEATH   ]     #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
[  DEATH   ]     #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
[  DEATH   ]     #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
[  DEATH   ]     #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
[  DEATH   ]     #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
[  DEATH   ]     #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
[  DEATH   ]     #6 0xf765296d (/lib32/libpthread.so.0+0x596d)<br>
[  DEATH   ]<br>
[  FAILED  ] AddressSanitizer.ThreadedTest (45 ms)<br>
[----------] 1 test from AddressSanitizer (45 ms total)<br>
<br>
[----------] Global test environment tear-down<br>
[==========] 1 test from 1 test case ran. (47 ms total)<br>
[  PASSED  ] 0 tests.<br>
[  FAILED  ] 1 test, listed below:<br>
[  FAILED  ] AddressSanitizer.ThreadedTest<br>
<br>
 1 FAILED TEST<br>
  YOU HAVE 25 DISABLED TESTS<br>
<br>
<br>
********************<br>
Testing:<br>
FAIL: AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizerInterface.ManyThreadsWithStatsStressTest<br>
(197 of 15209)<br>
******************** TEST 'AddressSanitizer-Unit ::<br>
Asan-i386-Test/AddressSanitizerInterface.ManyThreadsWithStatsStressTest'<br>
FAILED ********************<br>
Note: Google Test filter =<br>
AddressSanitizerInterface.ManyThreadsWithStatsStressTest<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from AddressSanitizerInterface<br>
[ RUN      ] AddressSanitizerInterface.ManyThreadsWithStatsStressTest<br>
==22460==AddressSanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0xedc4a030,<br>
0xedc4a000)<br>
    #0 0x806c0e3<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806c0e3)<br>
    #1 0x806f68b<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806f68b)<br>
    #2 0x80766c2<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80766c2)<br>
    #3 0x806d348<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d348)<br>
    #4 0x806d66e<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x806d66e)<br>
    #5 0x80603fd<br>
(/local/mnt/workspace/draco/out/release_stage2/projects/compiler-rt/lib/asan/tests/Asan-i386-Test+0x80603fd)<br>
    #6 0xf769996d (/lib32/libpthread.so.0+0x596d)<br>
<br>
********************<br>
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..<br>
FAIL: SanitizerCommon-Unit ::<br>
Sanitizer-i386-Test/SanitizerCommon.ThreadStackTlsWorker (14911 of<br>
15209)<br>
******************** TEST 'SanitizerCommon-Unit ::<br>
Sanitizer-i386-Test/SanitizerCommon.ThreadStackTlsWorker' FAILED<br>
********************<br>
Note: Google Test filter = SanitizerCommon.ThreadStackTlsWorker<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from SanitizerCommon<br>
[ RUN      ] SanitizerCommon.ThreadStackTlsWorker<br>
==15484==Sanitizer CHECK failed:<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:244<br>
((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size)) (4148203568,<br>
4148203520)<br>
<br>
********************<br>
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..<br>
FAIL: SanitizerCommon-Unit ::<br>
Sanitizer-i386-Test/SanitizerLinux.ThreadDescriptorSize (14914 of<br>
15209)<br>
******************** TEST 'SanitizerCommon-Unit ::<br>
Sanitizer-i386-Test/SanitizerLinux.ThreadDescriptorSize' FAILED<br>
********************<br>
Note: Google Test filter = SanitizerLinux.ThreadDescriptorSize<br>
[==========] Running 1 test from 1 test case.<br>
[----------] Global test environment set-up.<br>
[----------] 1 test from SanitizerLinux<br>
[ RUN      ] SanitizerLinux.ThreadDescriptorSize<br>
/local/mnt/workspace/draco/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc:230:<br>
Failure<br>
Value of: ThreadDescriptorSize()<br>
  Actual: 1216<br>
Expected: (uptr)result<br>
Which is: 1168<br>
[  FAILED  ] SanitizerLinux.ThreadDescriptorSize (2 ms)<br>
[----------] 1 test from SanitizerLinux (2 ms total)<br>
<br>
[----------] Global test environment tear-down<br>
[==========] 1 test from 1 test case ran. (2 ms total)<br>
[  PASSED  ] 0 tests.<br>
[  FAILED  ] 1 test, listed below:<br>
[  FAILED  ] SanitizerLinux.ThreadDescriptorSize<br>
<br>
 1 FAILED TEST<br>
<br>
********************<br>
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..<br>
<br>
2 warning(s) in tests.<br>
Testing Time: 138.05s<br>
********************<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, May 30, 2013 at 12:28 PM, Alexey Samsonov <<a href="mailto:samsonov@google.com">samsonov@google.com</a>> wrote:<br>
><br>
> On Thu, May 30, 2013 at 10:05 PM, Greg Fitzgerald <<a href="mailto:garious@gmail.com">garious@gmail.com</a>> wrote:<br>
>><br>
>> The sanitizer common and asan that mention 'thread' are failing for me<br>
>> this morning.  How are your bots looking?  Last good commit here was<br>
>> 512c616cacf70ca029a2bf719a482b902f3687cd.<br>
><br>
><br>
> Hm, our bots seem to be green. Could you refer to guilty svn revision?<br>
>><br>
>><br>
>> > You could try preprocessing your report with perl or sed to fix paths<br>
>> > to your binaries. It would be great to have an option for that in<br>
>> > asan_symbolize.py.<br>
>> ><br>
>> > As for addr2line, we just install binutils-multiarch ubuntu package.<br>
>><br>
>> Cool, that gets the job done, thanks.  Looks like there's some effort<br>
>> going into embedding the addr2line functionality into compiler-rt.  Is<br>
>> that something folks are actively working on?<br>
><br>
><br>
> Well, LLVM has llvm-symbolizer tool, which is analogous to addr2line.<br>
> For now sanitizer tools are able to use it for out-of-process symbolization<br>
> (e.g. on Linux you won't have to run report through asan_symbolize.py if<br>
> you provide env variable ASAN_SYMBOLIZER_PATH=/path/to/llvm-symbolizer).<br>
> We have plans to actually compile the symbolizer into the binary and do<br>
> in-process symbolization, but it's not there yet. Not sure if that's what<br>
> you mean<br>
> by "addr2line in compiler-rt".<br>
>><br>
>><br>
>><br>
>> > Tests are different: certainly tests that depend on instrumentation<br>
>> > are built with clang from the same build tree (that is tests "depend" on<br>
>> > Clang).<br>
>><br>
>> The compiler-rt library definitions have no dependency on the clang<br>
>> instrumentation, correct?  Only the other way around?<br>
><br>
><br>
> I'm confused here. compiler-rt and clang/llvm instrumentation depend on each<br>
> other,<br>
> so the version of Clang you use should be the same as the version of<br>
> compiler-rt.<br>
><br>
>><br>
>><br>
>> Thanks,<br>
>> Greg<br>
>><br>
>><br>
>> On Thu, May 30, 2013 at 1:03 AM, Alexey Samsonov <<a href="mailto:samsonov@google.com">samsonov@google.com</a>><br>
>> wrote:<br>
>> ><br>
>> > On Thu, May 30, 2013 at 3:40 AM, Greg Fitzgerald <<a href="mailto:garious@gmail.com">garious@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> > Cool, can you use clang 3.3 then? :)<br>
>> >><br>
>> >> I can, but digging deeper I see that the compiler-rt sanitizer tests<br>
>> >> depend on just-built-clang for its object instrumentation.  The next<br>
>> >> time<br>
>> >> the instrumentation changes, I'd expect those tests to break.  If the<br>
>> >> lit<br>
>> >> tests that require -fsanitize were moved to the clang repo, then I<br>
>> >> think<br>
>> >> it'd be safe to build compiler-rt with clang 3.3 or gcc 4.6.3.<br>
>> ><br>
>> ><br>
>> > Tests are different: certainly tests that depend on instrumentation are<br>
>> > built with clang from the same build tree (that is tests "depend" on<br>
>> > Clang).<br>
>> > * when you run "make" in your build tree, you build Clang and runtimes<br>
>> > with<br>
>> > a host compiler<br>
>> > * when you run "make check-all" in your build tree, you use this Clang<br>
>> > and<br>
>> > runtimes to build/run tests.<br>
>> ><br>
>> >><br>
>> >><br>
>> >><br>
>> >> Back to Android, I built the ASan shared object and successfully ran<br>
>> >> this<br>
>> >> example:<br>
>> >><br>
>> >><br>
>> >> <a href="https://code.google.com/p/address-sanitizer/source/browse/wiki/example_UseAfterFree.cc?r=1580" target="_blank">https://code.google.com/p/address-sanitizer/source/browse/wiki/example_UseAfterFree.cc?r=1580</a><br>

>> >><br>
>> >> But unlike these instructions:<br>
>> >> <a href="http://www.chromium.org/developers/testing/addresssanitizer" target="_blank">http://www.chromium.org/developers/testing/addresssanitizer</a><br>
>> >><br>
>> >> the Android instructions don't mention asan_symbolize.py<br>
>> >> <a href="https://code.google.com/p/address-sanitizer/wiki/Android" target="_blank">https://code.google.com/p/address-sanitizer/wiki/Android</a><br>
>> >><br>
>> >> When I use  asan_symbolize.py (from Linux), I see no symbols in the<br>
>> >> stack<br>
>> >> trace and the following error messages:<br>
>> >><br>
>> >> addr2line: '/data/example_UseAfterFree': No such file<br>
>> >> addr2line: '/data/<a href="http://libclang_rt.asan-arm-android.so" target="_blank">libclang_rt.asan-arm-android.so</a>': No such file<br>
>> >> addr2line: '/system/lib/libstdc++.so': No such file<br>
>> >><br>
>> >> How can I decode those addresses in the stack trace?  Is there a way to<br>
>> >> configure asan_symbolize.py to find my binaries and<br>
>> >> arm-linux-androideabi-addr2line?<br>
>> >><br>
>> >> Thanks,<br>
>> >> Greg<br>
>> >><br>
>> >> P.S. Thanks for the colorful output.  You make address sanitizing feel<br>
>> >> like Christmas.<br>
>> >><br>
>> >><br>
>> >> On Wed, May 29, 2013 at 7:28 AM, Alexey Samsonov <<a href="mailto:samsonov@google.com">samsonov@google.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> On Wed, May 29, 2013 at 5:40 PM, Greg Fitzgerald <<a href="mailto:garious@gmail.com">garious@gmail.com</a>><br>
>> >>> wrote:<br>
>> >>>><br>
>> >>>> For me, UBsan fails with clang 3.2 and passes with clang 3.3.<br>
>> >>><br>
>> >>><br>
>> >>> Cool, can you use clang 3.3 then? :) I think that the reason selected<br>
>> >>> UBSan tests fail under clang 3.2 is a bug in Clang, which was fixed<br>
>> >>> (Richard<br>
>> >>> may correct me if I'm wrong).<br>
>> >>> I don't really want to mark these tests as "failing on a certain<br>
>> >>> version<br>
>> >>> of host compiler".<br>
>> >>>><br>
>> >>>><br>
>> >>>> Using a fixed version allows you to build all clang/llvm/compiler-rt<br>
>> >>>> with one compiler.  It simplifies the build process quite a bit.<br>
>> >>>> Also<br>
>> >>>> better for isolating regressions in compiler-rt, especially if you<br>
>> >>>> use<br>
>> >>>> git-bisect.<br>
>> >>><br>
>> >>><br>
>> >>> I think you may fix a host compiler (it may be clang 3.3 or gcc<br>
>> >>> 4.6.3),<br>
>> >>> build w/o -Werror and stay happy most of the time.<br>
>> >>> Bootstrap process (use system compiler to build Clang, use this Clang<br>
>> >>> to<br>
>> >>> build LLVM+Clang+compiler-rt) isn't really scary, it adds just a few<br>
>> >>> lines<br>
>> >>> to your build script.<br>
>> >>> AFAIK some developers actually do this every day. But, yes, this is<br>
>> >>> not<br>
>> >>> user-friendly, and we probably should document it better (or even<br>
>> >>> provide<br>
>> >>> the scripts) somewhere...<br>
>> >>><br>
>> >>>><br>
>> >>>><br>
>> >>>> Greg<br>
>> >>>><br>
>> >>>><br>
>> >>>> On May 29, 2013, at 12:30 AM, Alexey Samsonov <<a href="mailto:samsonov@google.com">samsonov@google.com</a>><br>
>> >>>> wrote:<br>
>> >>>><br>
>> >>>> UBsan tests work for me when I run "check-ubsan" in both build trees<br>
>> >>>> (the one with gcc 4.6.3 as a host compiler, and the one with fresh<br>
>> >>>> Clang).<br>
>> >>>> It's pretty convenient for us to use fresh Clang to configure LLVM<br>
>> >>>> and<br>
>> >>>> compiler-rt. One major reason is that autoconf/make build system<br>
>> >>>> always<br>
>> >>>> builds compiler-rt with just-built Clang.<br>
>> >>>> There are other benefits, like keeping sanitizers code<br>
>> >>>> "-Werror"-clean<br>
>> >>>> under the fresh Clang, ability to catch regressions in compiler etc.<br>
>> >>>> Why<br>
>> >>>> would you need a fixed version?<br>
>> >>>><br>
>> >>>><br>
>> >>>> On Tue, May 28, 2013 at 10:26 PM, Greg Fitzgerald <<a href="mailto:garious@gmail.com">garious@gmail.com</a>><br>
>> >>>> wrote:<br>
>> >>>>><br>
>> >>>>> Okay, dropping gcc 4.4.3 makes sense.  How do you feel about using<br>
>> >>>>> clang 3.2 (and the upcoming 3.3) instead of tip-of-the-trunk clang?<br>
>> >>>>> It<br>
>> >>>>> looks like everything works great, but that you just need to make<br>
>> >>>>> those UB<br>
>> >>>>> tests 'unsupported' since they fail with "libclang_rt.ubsan was<br>
>> >>>>> built<br>
>> >>>>> without __int128 support".<br>
>> >>>>><br>
>> >>>>> Thanks,<br>
>> >>>>> Greg<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> On Mon, May 27, 2013 at 12:36 AM, Alexey Samsonov<br>
>> >>>>> <<a href="mailto:samsonov@google.com">samsonov@google.com</a>><br>
>> >>>>> wrote:<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> On Sun, May 26, 2013 at 12:17 AM, Evgeniy Stepanov<br>
>> >>>>>> <<a href="mailto:eugeni.stepanov@gmail.com">eugeni.stepanov@gmail.com</a>> wrote:<br>
>> >>>>>>><br>
>> >>>>>>> On Sat, May 25, 2013 at 4:12 AM, Greg Fitzgerald<br>
>> >>>>>>> <<a href="mailto:garious@gmail.com">garious@gmail.com</a>><br>
>> >>>>>>> wrote:<br>
>> >>>>>>> > When I build compiler-rt with clang 3.2, all lsan tests pass.<br>
>> >>>>>>> > The<br>
>> >>>>>>> > only<br>
>> >>>>>>> > failing tests I see are in ubsan:<br>
>> >>>>>>> ><br>
>> >>>>>>> > Failing Tests (6):<br>
>> >>>>>>> >     UndefinedBehaviorSanitizer :: Float/cast-overflow.cpp<br>
>> >>>>>>> >     UndefinedBehaviorSanitizer :: Integer/add-overflow.cpp<br>
>> >>>>>>> >     UndefinedBehaviorSanitizer :: Integer/div-zero.cpp<br>
>> >>>>>>> >     UndefinedBehaviorSanitizer :: Integer/sub-overflow.cpp<br>
>> >>>>>>> >     UndefinedBehaviorSanitizer :: Integer/uadd-overflow.cpp<br>
>> >>>>>>> >     UndefinedBehaviorSanitizer :: Integer/usub-overflow.cpp<br>
>> >>>>>>> ><br>
>> >>>>>>> ><br>
>> >>>>>>> > When I build with gcc 4.4.3, I need the changes below to get the<br>
>> >>>>>>> > source to<br>
>> >>>>>>> > compile (and then the lsan tests fails).  What are you all using<br>
>> >>>>>>> > to<br>
>> >>>>>>> > build<br>
>> >>>>>>> > compiler-rt?  are you developing on linux, osx or windows?<br>
>> >>>>>>> > Using<br>
>> >>>>>>> > gcc or<br>
>> >>>>>>> > llvm?  Which should I expect to work?  Any buildbots running?<br>
>> >>>>>>><br>
>> >>>>>><br>
>> >>>>>> As Evgeniy said, we build compiler-rt on Linux and on Mac OS X, and<br>
>> >>>>>> run tests for various sanitizers on our buildbots.<br>
>> >>>>>> Note that CMake build system of compiler-rt uses host compiler to<br>
>> >>>>>> build it. On Linux we use:<br>
>> >>>>>> 1) gcc 4.6.3<br>
>> >>>>>> 2) tip-of-the-trunk Clang,<br>
>> >>>>>> and tests pass under both of these.<br>
>> >>>>>><br>
>> >>>>>> gcc 4.4.3 seems way too old, so in some sense we've dropped support<br>
>> >>>>>> for it (you have to make changes, as old gcc is not<br>
>> >>>>>> smart enough to make some POD variables thread-local).<br>
>> >>>>>><br>
>> >>>>>>><br>
>> >>>>>>> I think we build compiler-rt with the host compiler, except for<br>
>> >>>>>>> Android. Which is usually a recently-built clang. n Linux, but we<br>
>> >>>>>>> exercise osx build on our buildbots.<br>
>> >>>>>>> We never build with compiler-rt not in projects/.<br>
>> >>>>>>> Our bot scripts are here:<br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>> <a href="https://code.google.com/p/address-sanitizer/source/browse/#svn%2Ftrunk%2Fbuild%2Fscripts%2Fslave" target="_blank">https://code.google.com/p/address-sanitizer/source/browse/#svn%2Ftrunk%2Fbuild%2Fscripts%2Fslave</a><br>

>> >>>>>>> The bots itself are not publicly visible, we hope to change that<br>
>> >>>>>>> soon.<br>
>> >>>>>>><br>
>> >>>>>>> ><br>
>> >>>>>>> > And lastly, are there build instructions to build the Android<br>
>> >>>>>>> > shared object?<br>
>> >>>>>>> > Is there any way to build an android static lib?  How about for<br>
>> >>>>>>> > arm-linux?<br>
>> >>>>>>><br>
>> >>>>>>> Android runtime is special, we build it in a separate build tree<br>
>> >>>>>>> configured with<br>
>> >>>>>>><br>
>> >>>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake<br>
>> >>>>>>> See buildbot_cmake.sh for details.<br>
>> >>>>>>><br>
>> >>>>>>> ><br>
>> >>>>>>> > Thanks,<br>
>> >>>>>>> > Greg<br>
>> >>>>>>> ><br>
>> >>>>>>> ><br>
>> >>>>>>> > diff --git a/lib/interception/interception.h<br>
>> >>>>>>> > b/lib/interception/interception.h<br>
>> >>>>>>> > index d50af35..1771d4e 100644<br>
>> >>>>>>> > --- a/lib/interception/interception.h<br>
>> >>>>>>> > +++ b/lib/interception/interception.h<br>
>> >>>>>>> > @@ -27,8 +27,8 @@ typedef __sanitizer::uptr    SIZE_T;<br>
>> >>>>>>> >  typedef __sanitizer::sptr    SSIZE_T;<br>
>> >>>>>>> >  typedef __sanitizer::sptr    PTRDIFF_T;<br>
>> >>>>>>> >  typedef __sanitizer::s64     INTMAX_T;<br>
>> >>>>>>> > -typedef __sanitizer::OFF_T   OFF_T;<br>
>> >>>>>>> > -typedef __sanitizer::OFF64_T OFF64_T;<br>
>> >>>>>>> > +//typedef __sanitizer::OFF_T   OFF_T;<br>
>> >>>>>>> > +//typedef __sanitizer::OFF64_T OFF64_T;<br>
>> >>>>>>> ><br>
>> >>>>>>> >  // How to add an interceptor:<br>
>> >>>>>>> >  // Suppose you need to wrap/replace system function (generally,<br>
>> >>>>>>> > from libc):<br>
>> >>>>>>> > diff --git a/lib/lsan/lsan_allocator.cc<br>
>> >>>>>>> > b/lib/lsan/lsan_allocator.cc<br>
>> >>>>>>> > index 9bf27b1..190dce8 100644<br>
>> >>>>>>> > --- a/lib/lsan/lsan_allocator.cc<br>
>> >>>>>>> > +++ b/lib/lsan/lsan_allocator.cc<br>
>> >>>>>>> > @@ -43,7 +43,7 @@ typedef CombinedAllocator<PrimaryAllocator,<br>
>> >>>>>>> > AllocatorCache,<br>
>> >>>>>>> >            SecondaryAllocator> Allocator;<br>
>> >>>>>>> ><br>
>> >>>>>>> >  static Allocator allocator;<br>
>> >>>>>>> > -static THREADLOCAL AllocatorCache cache;<br>
>> >>>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache;<br>
>> >>>>>>> ><br>
>> >>>>>>> >  void InitializeAllocator() {<br>
>> >>>>>>> >    allocator.Init();<br>
>> >>>>>>> > diff --git a/lib/msan/msan_allocator.cc<br>
>> >>>>>>> > b/lib/msan/msan_allocator.cc<br>
>> >>>>>>> > index 7435843..3e6adb6 100644<br>
>> >>>>>>> > --- a/lib/msan/msan_allocator.cc<br>
>> >>>>>>> > +++ b/lib/msan/msan_allocator.cc<br>
>> >>>>>>> > @@ -33,7 +33,7 @@ typedef LargeMmapAllocator<><br>
>> >>>>>>> > SecondaryAllocator;<br>
>> >>>>>>> >  typedef CombinedAllocator<PrimaryAllocator, AllocatorCache,<br>
>> >>>>>>> >                            SecondaryAllocator> Allocator;<br>
>> >>>>>>> ><br>
>> >>>>>>> > -static THREADLOCAL AllocatorCache cache;<br>
>> >>>>>>> > +static /*THREADLOCAL*/ AllocatorCache cache;<br>
>> >>>>>>> >  static Allocator allocator;<br>
>> >>>>>>> ><br>
>> >>>>>>> >  static int inited = 0;<br>
>> >>>>>>> ><br>
>> >>>>>>> ><br>
>> >>>>>>> ><br>
>> >>>>>>> > On Fri, May 24, 2013 at 6:10 AM, Sergey Matveev<br>
>> >>>>>>> > <<a href="mailto:earthdok@google.com">earthdok@google.com</a>> wrote:<br>
>> >>>>>>> >><br>
>> >>>>>>> >> I blame this line in lsan/lit_tests/lit.cfg:<br>
>> >>>>>>> >><br>
>> >>>>>>> >> # Setup attributes common for all compiler-rt projects.<br>
>> >>>>>>> >> compiler_rt_lit_cfg = os.path.join(llvm_src_root, "projects",<br>
>> >>>>>>> >> "compiler-rt",<br>
>> >>>>>>> >>                                    "lib", "lit.common.cfg")<br>
>> >>>>>>> >><br>
>> >>>>>>> >><br>
>> >>>>>>> >> On Fri, May 24, 2013 at 2:53 PM, Alexey Samsonov<br>
>> >>>>>>> >> <<a href="mailto:samsonov@google.com">samsonov@google.com</a>><br>
>> >>>>>>> >> wrote:<br>
>> >>>>>>> >>><br>
>> >>>>>>> >>><br>
>> >>>>>>> >>> On Fri, May 24, 2013 at 3:37 AM, Greg Fitzgerald<br>
>> >>>>>>> >>> <<a href="mailto:garious@gmail.com">garious@gmail.com</a>><br>
>> >>>>>>> >>> wrote:<br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>> > it assumes that compiler-rt is checked out to<br>
>> >>>>>>> >>>> > llvm/projects/compiler-rt. Apparently, this is a problem.<br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>> I have a patch for this ready.  I'll send it to you and<br>
>> >>>>>>> >>>> llvm-commits.<br>
>> >>>>>>> >>>> Most of the tests pass with "make check-all" but the<br>
>> >>>>>>> >>>> recently-added lsan<br>
>> >>>>>>> >>>> tests are all failing.  Do those fail for you as well?  If<br>
>> >>>>>>> >>>> so,<br>
>> >>>>>>> >>>> can we XFAIL<br>
>> >>>>>>> >>>> them for now and try to keep the "make check-all" build<br>
>> >>>>>>> >>>> clean?<br>
>> >>>>>>> >>><br>
>> >>>>>>> >>><br>
>> >>>>>>> >>> Thanks! I'll take a look at the patch today. LSan tests work<br>
>> >>>>>>> >>> fine<br>
>> >>>>>>> >>> for me,<br>
>> >>>>>>> >>> and we have them on our buildbot as well. What are the<br>
>> >>>>>>> >>> failures<br>
>> >>>>>>> >>> you see?<br>
>> >>>>>>> >>><br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>> Thanks,<br>
>> >>>>>>> >>>> Greg<br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>> On Wed, May 22, 2013 at 9:39 PM, Alexey Samsonov<br>
>> >>>>>>> >>>> <<a href="mailto:samsonov@google.com">samsonov@google.com</a>><br>
>> >>>>>>> >>>> wrote:<br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>> Hi!<br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>> The docs look strange to me - I don't indeed see any CMake<br>
>> >>>>>>> >>>>> support for<br>
>> >>>>>>> >>>>> running compiler-rt tests.<br>
>> >>>>>>> >>>>> Probably compiler-rt folks can comment on this...<br>
>> >>>>>>> >>>>> I think you should run compilert-rt tests manually by smth.<br>
>> >>>>>>> >>>>> like<br>
>> >>>>>>> >>>>> compiler-rt/test/Unit/test.<br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>> CMake build system is able of running a bunch of sanitizer<br>
>> >>>>>>> >>>>> tests<br>
>> >>>>>>> >>>>> (AddressSanitizer, ThreadSanitizer etc.), and it assumes<br>
>> >>>>>>> >>>>> that<br>
>> >>>>>>> >>>>> compiler-rt is checked out to llvm/projects/compiler-rt.<br>
>> >>>>>>> >>>>> Apparently,<br>
>> >>>>>>> >>>>> this is a problem. There was a patch that tried to address<br>
>> >>>>>>> >>>>> this, but<br>
>> >>>>>>> >>>>> it never got committed.<br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>> On Wed, May 22, 2013 at 11:38 PM, Greg Fitzgerald<br>
>> >>>>>>> >>>>> <<a href="mailto:garious@gmail.com">garious@gmail.com</a>><br>
>> >>>>>>> >>>>> wrote:<br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>> Anybody working on porting the compiler-rt tests to cmake?<br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>> The online documentation shows a preference for cmake and<br>
>> >>>>>>> >>>>>> ctest, but<br>
>> >>>>>>> >>>>>> the CMakeLists file has the comment "Currently the tests<br>
>> >>>>>>> >>>>>> have<br>
>> >>>>>>> >>>>>> not been<br>
>> >>>>>>> >>>>>> ported to CMake, so disable this directory."  How should we<br>
>> >>>>>>> >>>>>> be<br>
>> >>>>>>> >>>>>> running the<br>
>> >>>>>>> >>>>>> test suite?<br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>> <a href="http://compiler-rt.llvm.org/" target="_blank">http://compiler-rt.llvm.org/</a><br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>> My immediate issue is that "make check-all" fails in the<br>
>> >>>>>>> >>>>>> cmake<br>
>> >>>>>>> >>>>>> build<br>
>> >>>>>>> >>>>>> when compiler-rt is outside the projects directory.  When I<br>
>> >>>>>>> >>>>>> point to<br>
>> >>>>>>> >>>>>> compiler-rt with LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR, lit<br>
>> >>>>>>> >>>>>> still looks for<br>
>> >>>>>>> >>>>>> lit.common.cfg within "projects/compiler-rt" instead of the<br>
>> >>>>>>> >>>>>> external<br>
>> >>>>>>> >>>>>> directory.  I use similar CMake variables for Clang and<br>
>> >>>>>>> >>>>>> Polly<br>
>> >>>>>>> >>>>>> and have had<br>
>> >>>>>>> >>>>>> no trouble.  Any recommendations for how to fix?<br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>> Thanks,<br>
>> >>>>>>> >>>>>> Greg<br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>><br>
>> >>>>>>> >>>>>><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>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>><br>
>> >>>>>>> >>>>> --<br>
>> >>>>>>> >>>>> Alexey Samsonov, MSK<br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>>><br>
>> >>>>>>> >>><br>
>> >>>>>>> >>><br>
>> >>>>>>> >>><br>
>> >>>>>>> >>> --<br>
>> >>>>>>> >>> Alexey Samsonov, MSK<br>
>> >>>>>>> >><br>
>> >>>>>>> >><br>
>> >>>>>>> ><br>
>> >>>>>>> ><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>
>> >>>>>>> _______________________________________________<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>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> --<br>
>> >>>>>> Alexey Samsonov, MSK<br>
>> >>>>><br>
>> >>>>><br>
>> >>>><br>
>> >>>><br>
>> >>>><br>
>> >>>> --<br>
>> >>>> Alexey Samsonov, MSK<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> --<br>
>> >>> Alexey Samsonov, MSK<br>
>> >><br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Alexey Samsonov, MSK<br>
><br>
><br>
><br>
><br>
> --<br>
> Alexey Samsonov, MSK<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>
</div></div></blockquote></div><br></div>