[compiler-rt] TSAN: Report when thread is not live and referenced in pthread (PR #156921)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 4 11:07:23 PDT 2025
================
@@ -274,6 +274,11 @@ void ThreadRegistry::JoinThread(u32 tid, void *arg) {
{
ThreadRegistryLock l(this);
ThreadContextBase *tctx = threads_[tid];
+
+ if (!tctx) {
----------------
vitalybuka wrote:
The title is "Report when thread..."
Fixing non-join should be a separate patch.
https://github.com/llvm/llvm-project/pull/156921
More information about the llvm-commits
mailing list