mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Flip the polarity of the frontend flag controlling whether TSan treats inout accesses as conceptual writes. It is now on by default. This lets TSan detect racing mutating methods even when those methods are not themselves instrumented (such as methods on Standard Library collections). This behavior can be disabled by passing: -Xfrontend -disable-tsan-inout-instrumentation when compiling under TSan. rdar://problem/31069963
56 KiB
56 KiB