[clang] [compiler-rt] [llvm] [tsan] Add simulation to TSAN (PR #183200)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 23 23:02:44 PST 2026
================
@@ -0,0 +1,41 @@
+// RUN: %clangxx_tsan -O1 %s -o %t && env TSAN_OPTIONS="simulate_scheduler=random:simulate_iterations=10" %run %t 2>&1 | FileCheck %s
----------------
vitalybuka wrote:
```suggestion
// RUN: %clangxx_tsan -O1 %s -o %t && %env_tsan_opts=simulate_scheduler=random:simulate_iterations=10 %run %t 2>&1 | FileCheck %s
```
https://github.com/llvm/llvm-project/pull/183200
More information about the cfe-commits
mailing list