[lsan] Add debug output to leak_check_before_thread_started.cc.
authorSergey Matveev <earthdok@google.com>
Fri, 19 Dec 2014 15:33:13 +0000 (15:33 +0000)
committerSergey Matveev <earthdok@google.com>
Fri, 19 Dec 2014 15:33:13 +0000 (15:33 +0000)
Trying to investigate why this test is flaky.

llvm-svn: 224580

compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cc

index 891cd69..0bd4837 100644 (file)
@@ -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>