[compiler-rt] [TSAN] Add __tsan_check_no_mutexes_held helper (PR #69372)

Kenny Yu via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 15:15:38 PDT 2023


================
@@ -126,6 +126,10 @@ void __tsan_mutex_post_signal(void *addr, unsigned flags);
 void __tsan_mutex_pre_divert(void *addr, unsigned flags);
 void __tsan_mutex_post_divert(void *addr, unsigned flags);
 
+// Annotate that no mutexes can be held. If we are holding mutexes, then
----------------
kennyyu wrote:

Will change

https://github.com/llvm/llvm-project/pull/69372


More information about the llvm-commits mailing list