Commit Graph

1 Commits

Author SHA1 Message Date
Joe Groff
9b2fa08384 SILGen: Use [unsafe] access markers for move-only storage when exclusivity enforcement is disabled.
The move-only checker relies on access markers to understand access scopes, so eliding them
entirely leads to miscompiles. We can emit `begin_access [unsafe]` to semantically delimit
exclusivity scopes while still doing no runtime checking. Fixes rdar://147546262.
2025-04-08 12:02:24 -07:00