[Dependency Scanning] Collect and report each module dependency's Link Libraries

This commit is contained in:
artemcm
2024-05-24 15:21:58 -07:00
committed by Artem Chikin
parent 083fdaa0de
commit d70863501e
34 changed files with 640 additions and 291 deletions

View File

@@ -55,6 +55,8 @@ using ContextHashIDField = IdentifierIDField;
using IsFrameworkField = BCFixed<1>;
/// A bit that indicates whether or not a module is a system module
using IsSystemField = BCFixed<1>;
/// A bit that indicates whether or not a module is that of a static archive
using IsStaticField = BCFixed<1>;
/// Arrays of various identifiers, distinguished for readability
using IdentifierIDArryField = llvm::BCArray<IdentifierIDField>;
@@ -140,10 +142,11 @@ using SwiftInterfaceModuleDetailsLayout =
FlagIDArrayIDField, // extraPCMArgs
ContextHashIDField, // contextHash
IsFrameworkField, // isFramework
IsStaticField, // isStatic
FileIDField, // bridgingHeaderFile
FileIDArrayIDField, // sourceFiles
FileIDArrayIDField, // bridgingSourceFiles
IdentifierIDField, // bridgingModuleDependencies
IdentifierIDField, // bridgingModuleDependencies
DependencyIDArrayIDField, // swiftOverlayDependencies
IdentifierIDField, // CASFileSystemRootID
IdentifierIDField, // bridgingHeaderIncludeTree
@@ -174,6 +177,7 @@ using SwiftBinaryModuleDetailsLayout =
IdentifierIDField, // headerModuleDependencies
FileIDArrayIDField, // headerSourceFiles
IsFrameworkField, // isFramework
IsStaticField, // isStatic
IdentifierIDField // moduleCacheKey
>;