[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 10:16:55 PDT 2025
================
@@ -274,6 +274,11 @@ void ThreadRegistry::JoinThread(u32 tid, void *arg) {
{
ThreadRegistryLock l(this);
ThreadContextBase *tctx = threads_[tid];
+
+ if (!tctx) {
----------------
vitalybuka wrote:
would it be enough just print message without tid, so we don't need the rest of the patch?
https://github.com/llvm/llvm-project/pull/156921
More information about the llvm-commits
mailing list