apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.1k stars 320 forks source link

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

Closed artemcm closed 1 month ago

artemcm commented 1 month ago

Cherry-pick of https://github.com/llvm/llvm-project/pull/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 commented 1 month ago

@swift-ci test

artemcm commented 1 month ago

@swift-ci test Windows platform

artemcm commented 1 month ago

@swift-ci test

NuriAmari commented 1 month ago

@nkcsgexi @artemcm I think a couple more tests need updating: https://github.com/apple/llvm-project/pull/8856

nkcsgexi commented 1 month ago

ah, thank you for updating them, @NuriAmari !

NuriAmari commented 1 month ago

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.