aboutsummaryrefslogtreecommitdiff
path: root/test/lsan/TestCases/use_stacks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsan/TestCases/use_stacks.cc')
-rw-r--r--test/lsan/TestCases/use_stacks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lsan/TestCases/use_stacks.cc b/test/lsan/TestCases/use_stacks.cc
index c32af6841260..95a01003b0c0 100644
--- a/test/lsan/TestCases/use_stacks.cc
+++ b/test/lsan/TestCases/use_stacks.cc
@@ -1,5 +1,5 @@
// Test that stack of main thread is included in the root set.
-// RUN: LSAN_BASE="report_objects=1:use_registers=0"
+// RUN: LSAN_BASE="detect_leaks=1:report_objects=1:use_registers=0"
// RUN: %clangxx_lsan %s -o %t
// RUN: LSAN_OPTIONS=$LSAN_BASE:"use_stacks=0" not %run %t 2>&1 | FileCheck %s
// RUN: LSAN_OPTIONS=$LSAN_BASE:"use_stacks=1" %run %t 2>&1