mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If exclusivity is checked for the alloc_stack we must not replace it with the copy-destination. If the copy-destination is also in an access-scope this would result in an exclusivity violation which was not there before. Fixes a miscompile which results in a wrong exclusivity violation error at runtime. https://github.com/swiftlang/swift/issues/83924 rdar://159220436