We already have %env_asan_opts for ASan, let's implement the same for TSan.
Details
Details
- Reviewers
kcc glider dvyukov samsonov - Commits
- rG153594694b8b: [tsan] Implement "%env_tsan_opts" substitution to inherit default TSAN_OPTIONS
rCRT253579: [tsan] Implement "%env_tsan_opts" substitution to inherit default TSAN_OPTIONS
rL253579: [tsan] Implement "%env_tsan_opts" substitution to inherit default TSAN_OPTIONS
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/tsan/deadlock_detector_stress_test.cc | ||
---|---|---|
3 ↗ | (On Diff #40265) | why? |
test/tsan/deadlock_detector_stress_test.cc | ||
---|---|---|
3 ↗ | (On Diff #40265) | The problem is not space-delimited options, after applying substitution the string would look like: env TSAN_OPTIONS=atexit_sleep_ms=0:"detect_deadlocks=1 second_deadlock_stack=1" which is probably not what is desired |