Skip to content

5.9: [SemanticARCOpts] Don't shorten owned lexical values lifetimes through deinit barriers. #65171

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

Conversation

nate-chandler
Copy link
Contributor

Cherry-pick of #65164 .

Prevent joining lifetimes of copies with destroyed owned lexical values if there may be deinit barriers between the final consume of the copy and the destroy of the lexical value.

rdar://108014714

Prevent joining lifetimes of copies with destroyed owned lexical values
if there may be deinit barriers between the final consume of the copy
and the destroy of the lexical value.

rdar://108014714
@nate-chandler nate-chandler requested a review from a team as a code owner April 13, 2023 23:55
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

The debug_step returns true for mayReadOrWriteMemory so it has to be
handled there.

rdar://108043268
@nate-chandler
Copy link
Contributor Author

Added #65181 for the macOS failure.

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test macos platform

@nate-chandler nate-chandler merged commit 6e88541 into swiftlang:release/5.9 Apr 14, 2023
@nate-chandler nate-chandler deleted the cherrypick/release/5.9/rdar108014714 branch April 14, 2023 22:21
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants