Skip to content

[SIL] Verify complete lifetimes when option set. #73195

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

Conversation

nate-chandler
Copy link
Contributor

@nate-chandler nate-chandler commented Apr 23, 2024

Only pass DeadEndBlocks to verifyOwnership if OSSAVerifyComplete is not set. The verifier keys off of the nullness of DeadEndBlocks to decide whether to verify complete lifetimes or not.

@nate-chandler nate-chandler changed the title [LifetimeCompletion] Verify complete with flag. [SIL] Verify complete lifetimes when option set. Apr 23, 2024
@nate-chandler nate-chandler force-pushed the lifetime-completion/20240422/1 branch from ff71853 to c64a9a6 Compare April 23, 2024 01:13
Only pass DeadEndBlocks to verifyOwnership if OSSAVerifyComplete is not
set.  The verifier keys off of the nullness of DeadEndBlocks to decide
whether to verify complete lifetimes or not.
@nate-chandler nate-chandler force-pushed the lifetime-completion/20240422/1 branch from c64a9a6 to 7fd4311 Compare April 24, 2024 19:59
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler marked this pull request as ready for review April 25, 2024 17:45
@nate-chandler nate-chandler requested a review from atrick April 25, 2024 17:45
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nate-chandler nate-chandler merged commit 7b45597 into swiftlang:main Apr 25, 2024
@nate-chandler nate-chandler deleted the lifetime-completion/20240422/1 branch April 25, 2024 21:51
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.

2 participants