[compiler-rt] [scudo] Fix the use of ASSERT_CAPABILITY in TSD (PR #68273)

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 00:39:26 PDT 2023


================
@@ -120,6 +120,11 @@ struct TSDRegistrySharedT {
                 TSDsArraySize);
     for (uptr I = 0; I < NumberOfTSDs; ++I) {
       TSDs[I].lock();
+      // Theoratically, we want to mark TSD::lock()/TSD::unlock() with proper
----------------
legrosbuffle wrote:

nit: typo "Theoratically"

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


More information about the llvm-commits mailing list