[PATCH] D14698: [tsan] Implement "%env_tsan_opts" substitution to inherit default TSAN_OPTIONS
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 23:57:13 PST 2015
dvyukov added inline comments.
================
Comment at: test/tsan/deadlock_detector_stress_test.cc:3
@@ -4,1 +2,3 @@
+// RUN: %env_tsan_opts=detect_deadlocks=1 %deflake %run %t | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOT-SECOND
+// RUN: %env_tsan_opts="detect_deadlocks=1 second_deadlock_stack=1" %deflake %run %t | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-SECOND
// RUN: %clangxx_tsan %s -o %t -DLockType=PthreadSpinLock
----------------
samsonov wrote:
> remove quotes and use `:` as a delimiter here.
why?
space-delimited options is supported format that must continue to work
http://reviews.llvm.org/D14698
More information about the llvm-commits
mailing list