Skip to content

[6.0 🍒][clang][deps] Collect discovered module dependencies' Link Libraries #8809

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

artemcm
Copy link

@artemcm artemcm commented May 28, 2024

Cherry-pick of llvm#93588

Explanation: This will allow scanner clients to be able to compute e.g. auto-linking dependencies of the scanned translation unit.

Risk: Low. This change is additive and does not exercise meaningfully-changed code-paths.

Testing: Automated test added to the compiler test suite.

Reviewed By: @benlangmuir

@artemcm
Copy link
Author

artemcm commented May 28, 2024

@swift-ci test

@artemcm
Copy link
Author

artemcm commented May 29, 2024

@swift-ci test Windows platform

This will allow scanner clients to be able to compute e.g. auto-linking dependencies of the scanned translation unit.
@artemcm artemcm force-pushed the Swift60_ExplicitAutoLinkScanner branch from 19bb623 to 0dd4a0f Compare June 3, 2024 20:07
@artemcm
Copy link
Author

artemcm commented Jun 3, 2024

@swift-ci test

@artemcm artemcm requested review from nkcsgexi and benlangmuir June 4, 2024 16:17
@nkcsgexi nkcsgexi merged commit 19ce918 into swiftlang:swift/release/6.0 Jun 4, 2024
3 checks passed
@artemcm artemcm deleted the Swift60_ExplicitAutoLinkScanner branch June 4, 2024 16:53
@NuriAmari
Copy link

@nkcsgexi @artemcm I think a couple more tests need updating: #8856

@nkcsgexi
Copy link

nkcsgexi commented Jun 5, 2024

ah, thank you for updating them, @NuriAmari !

@NuriAmari
Copy link

ah, thank you for updating them, @NuriAmari !

@nkcsgexi No problem, but I can't merge or run tests myself, nor am I sure which branches to merge into. If someone could take a look at the PR, that'd be great. Thanks.

NuriAmari pushed a commit to NuriAmari/llvm-project that referenced this pull request Jun 5, 2024
Tests `test/ClangScanDeps/modules-cas-full-by-mod-name.c`, and `test/ClangScanDeps/modules-include-tree-by-mod-name.c`
were broken by swiftlang#8809. These
tests needed adjusting to account for the changes.
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