aboutsummaryrefslogtreecommitdiff
path: root/test/lsan/TestCases/leak_check_before_thread_started.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsan/TestCases/leak_check_before_thread_started.cc')
-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 891cd699a255..0bd4837f14c0 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>