[clang] [compiler-rt] [llvm] [TSan][ObjC] Make TSan able to detect races on 'nonatomic, copy' properties (PR #238426)
Dan Blackwell via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 11:53:12 PST 2026
DanBlackwell wrote:
> > Hi @vitalybuka; I'm planning to add proper support for Objective-C in TSan - is this a substantial enough change that it should go through RFC?
>
> I guess depends on how intrusive change will be needed.
I think the only change in cross-platform code is these additions to the instrumentation pass: https://github.com/llvm/llvm-project/pull/238426/changes#diff-a066a832302eb30d1c229ea85c5d4854b1d7f2fb375e51401440da38c8a101a0. When I wrote that comment I was thinking we may need other support, but looking into the ObjC runtime, it seems that most other operations are either atomic by default or the existing codegen already works correctly with TSan.
https://github.com/llvm/llvm-project/pull/238426
More information about the cfe-commits
mailing list