[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:17:01 PDT 2023


================
@@ -0,0 +1,24 @@
+// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+#include "test.h"
+
+pthread_mutex_t mtx;
----------------
kennyyu wrote:

Will fix

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


More information about the llvm-commits mailing list