Skip to content

[clang][Dependency Scanning] Report What a Module Exports during Scanning (#137421) #10604

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

Open
wants to merge 1 commit into
base: stable/20240723
Choose a base branch
from

Conversation

qiongsiwu
Copy link

We would like to report, for a module, which direct dependencies it exports during dependency scanning. This PR implements this reporting by augmenting ModuleDep's ClangModuleDeps variable. ClangModuleDeps now contains instances of DepInfo, which is made of a ModuleID and a boolean flag that indicates if a particular dependence is exported.

rdar://144794793
(cherry picked from commit ea1bfbf)

@qiongsiwu qiongsiwu requested a review from a team as a code owner May 1, 2025 18:28
@qiongsiwu
Copy link
Author

@swift-ci please test

@qiongsiwu qiongsiwu changed the base branch from swift/release/6.2 to stable/20240723 May 1, 2025 19:43
…ning (llvm#137421)

We would like to report, for a module, which direct dependencies it
exports during dependency scanning. This PR implements this reporting by
augmenting `ModuleDep`'s `ClangModuleDeps` variable. `ClangModuleDeps`
now contains instances of `DepInfo`, which is made of a `ModuleID` and a
boolean flag that indicates if a particular dependence is exported.

rdar://144794793
(cherry picked from commit ea1bfbf)
@qiongsiwu qiongsiwu force-pushed the cherry_pick_144794793 branch from e17f9f6 to 7da77c4 Compare May 1, 2025 23:32
@artemcm
Copy link

artemcm commented May 1, 2025

swiftlang/swift#81243
@swift-ci test

@qiongsiwu
Copy link
Author

I am investigating the test failures.

@qiongsiwu
Copy link
Author

It seems that both the macOS and Windows runs timed out. I am triggering the test again to see what happens.

@qiongsiwu
Copy link
Author

swiftlang/swift#81243
@swift-ci test

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