Skip to content

IRGen: consider deployment target when emitting $ld$previous symbols #63757

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
Feb 18, 2023

Conversation

nkcsgexi
Copy link
Contributor

Minimum deployment target can be set before the introduction of a moved symbol. When that happens, using the introductory version in the $ld$previous symbol could lead to ld not redirecting the linkage path to the original dylib, which is a mistake when running the App on newer OSs when the original dylib does exist.

rdar://105181824

Deployment target can be set before the introduction of a moved symbol. When that
happens, using the introductory version in the $ld$previous symbol could lead to ld
not redirecting the linkage path to the original dylib, which is a mistake when running
the App on newer OSs when the original dylib does exist.

rdar://105181824
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi merged commit fa13d29 into main Feb 18, 2023
@nkcsgexi nkcsgexi deleted the 105181824 branch February 18, 2023 01:35
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