[compiler-rt] TSan: Support relaxed accesses and fences (PR #142579)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 19 12:23:54 PDT 2025
================
@@ -80,3 +80,6 @@ TSAN_FLAG(bool, shared_ptr_interceptor, true,
TSAN_FLAG(bool, print_full_thread_history, false,
"If set, prints thread creation stacks for the threads involved in "
"the report and their ancestors up to the main thread.")
+TSAN_FLAG(bool, correct_race_detection, false,
----------------
thurstond wrote:
Nit: please give a more specific name for the flag (and associated variable) - something like "precise_relaxed_access_checks". Otherwise, if anyone makes another improvement to TSan, their flag would be "even_more_correct_race_detection".
https://github.com/llvm/llvm-project/pull/142579
More information about the llvm-commits
mailing list