Skip to content

LifetimeDependenceInsertion: allow dependency on Builtin.addressof() #81837

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 1 commit into from
May 30, 2025

Conversation

atrick
Copy link
Contributor

@atrick atrick commented May 29, 2025

This mostly makes it easier to test dependency corner cases. The analysis still
doesn't recognize UnsafeRawPointer.init(), so regular users still need to use
_overrideLifetime.

Fixes rdar://137608270 ([borrows] Add Builtin.addressof() support
for @Addressable arguments)

This mostly makes it easier to test dependency corner cases. The analysis still
doesn't recognize UnsafeRawPointer.init(), so regular users still need to use
_overrideLifetime.

Fixes rdar://137608270 ([borrows] Add Builtin.addressof() support
for @Addressable arguments)
@atrick atrick requested a review from eeckstein as a code owner May 29, 2025 17:31
@atrick atrick requested a review from jckarter May 29, 2025 17:33
@atrick atrick enabled auto-merge May 29, 2025 17:33
@atrick
Copy link
Contributor Author

atrick commented May 29, 2025

@swift-ci test

@atrick
Copy link
Contributor Author

atrick commented May 29, 2025

Timed Out Tests (1):
[2025-05-29T23:02:50.779Z]   lldb-api :: lang/swift/embedded/expr/TestSwiftEmbeddedExpression.py

🙄

@atrick
Copy link
Contributor Author

atrick commented May 29, 2025

@swift-ci smoke test macOS

@atrick atrick merged commit 38d89f1 into swiftlang:main May 30, 2025
4 of 5 checks passed
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