[compiler-rt] r224580 - [lsan] Add debug output to leak_check_before_thread_started.cc.

Sergey Matveev earthdok at google.com
Fri Dec 19 07:33:13 PST 2014


Author: smatveev
Date: Fri Dec 19 09:33:13 2014
New Revision: 224580

URL: http://llvm.org/viewvc/llvm-project?rev=224580&view=rev
Log:
[lsan] Add debug output to leak_check_before_thread_started.cc.

Trying to investigate why this test is flaky.

Modified:
    compiler-rt/trunk/test/lsan/TestCases/leak_check_before_thread_started.cc

Modified: compiler-rt/trunk/test/lsan/TestCases/leak_check_before_thread_started.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lsan/TestCases/leak_check_before_thread_started.cc?rev=224580&r1=224579&r2=224580&view=diff
==============================================================================
--- compiler-rt/trunk/test/lsan/TestCases/leak_check_before_thread_started.cc (original)
+++ compiler-rt/trunk/test/lsan/TestCases/leak_check_before_thread_started.cc Fri Dec 19 09:33:13 2014
@@ -1,8 +1,7 @@
 // Regression test for http://llvm.org/bugs/show_bug.cgi?id=21621
 // This test relies on timing between threads, so any failures will be flaky.
-// RUN: LSAN_BASE="use_stacks=0:use_registers=0"
 // RUN: %clangxx_lsan %s -o %t
-// RUN: %run %t
+// RUN: LSAN_OPTIONS="log_pointers=1:log_threads=1" %run %t
 #include <assert.h>
 #include <pthread.h>
 #include <stdlib.h>





More information about the llvm-commits mailing list