Skip to content

[5.5] ABIChecking: use the always-generated-abi-descriptor to diagnose ABI breakages #886

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

Closed
wants to merge 1 commit into from

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Oct 26, 2021

• Explanation: Previously, in order to diagnose ABI breakages, the driver needs to first import the generated Swift interface, which requires us to set up search paths correctly. Since we now generate the ABI descriptor JSON file alongside the Swift module/interface, we should be able to use these JSON files directly without importing the generated Swift interface, bypassing the problem space of setting search paths properly for the ABI checker invocation as a result.

• Scope of Issue: Swift ABI checker

• Origination: Issue found when invoking ABI checker

• Risk: Very Low. Internal Tools only

• Cherry-pick of: #885

• Resolves: rdar://84595482

• Reviewed By: Artem

• Automated Testing: Regression tests updated

@nkcsgexi nkcsgexi requested a review from a team as a code owner October 26, 2021 05:11
@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi requested a review from owenv October 26, 2021 17:03
@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi requested a review from artemcm October 28, 2021 17:36
@nkcsgexi nkcsgexi closed this Oct 28, 2021
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