Skip to content

SIL: Don't skip lowering obsolete decls #66353

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
Jun 6, 2023

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Jun 6, 2023

When -unavailable-decl-optimization=complete is specified obsolete decls should be preserved because their symbols are still ABI since they are available to use when targeting deployment targets earlier than the obsoletion version.

Resolves rdar://110268649

When `-unavailable-decl-optimization=complete` is specified obsolete decls
should be preserved because their symbols are still ABI since they are
available to use when targeting deployment targets earlier than the obsoletion
version.

Resolves rdar://110268649
@tshortli tshortli changed the title SIL: Don't skip lowering obsolete decls. SIL: Don't skip lowering obsolete decls Jun 6, 2023
@tshortli
Copy link
Contributor Author

tshortli commented Jun 6, 2023

@swift-ci please test

@tshortli tshortli marked this pull request as ready for review June 6, 2023 03:33
@tshortli tshortli merged commit 9c98ee8 into swiftlang:main Jun 6, 2023
@tshortli tshortli deleted the avoid-stripping-obsolete-decls branch June 6, 2023 15:29
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.

3 participants