summaryrefslogtreecommitdiff
path: root/test/lsan/TestCases
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2014-12-19 15:33:13 +0000
committerSergey Matveev <earthdok@google.com>2014-12-19 15:33:13 +0000
commit60172983779be9fd4a857327555a83dcb6c1ce85 (patch)
tree6c3b3a8b4643a4f5423fe8fd5a723197f0ceac18 /test/lsan/TestCases
parentbb1b131e73c32024da3da0533959037b4c8645d3 (diff)
[lsan] Add debug output to leak_check_before_thread_started.cc.
Trying to investigate why this test is flaky. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lsan/TestCases')
-rw-r--r--test/lsan/TestCases/leak_check_before_thread_started.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lsan/TestCases/leak_check_before_thread_started.cc b/test/lsan/TestCases/leak_check_before_thread_started.cc
index 891cd699a..0bd4837f1 100644
--- a/test/lsan/TestCases/leak_check_before_thread_started.cc
+++ b/test/lsan/TestCases/leak_check_before_thread_started.cc
@@ -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>