Skip to content

Support enforcement of '@'_addressable under -enable-address-dependencies #79758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 4, 2025

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Mar 4, 2025

LifetimeDependence: allow dependence on the store_borrow address

Previously, the dependence was on the stored value, but that is incorrect for '@'_addressable parameters.

Add -Xfrontend -enable-address-dependencies. Temporary option to bootstrap '@'_addressable enforcement. Once all the SILGen cases are handled, we won't need this option.

@atrick
Copy link
Contributor Author

atrick commented Mar 4, 2025

@swift-ci test

@atrick atrick enabled auto-merge March 4, 2025 00:27
@atrick atrick merged commit 5783b49 into swiftlang:main Mar 4, 2025
4 of 5 checks passed
@atrick atrick deleted the addressable-deps branch March 4, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant