mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Handle binary module dependencies' Swift overlay dependencies
The code, previously, only properly handled such dependencies being a distinct category for Swift source and Swift textual dependency infos. Swift binary module dependencies must handle this similarly and this change adds the missing support for them. Recent refactor of the scanner also means that now Swift binary dependencies with Swift overlay dependencies may crash the scanner, and this change resolves this as well. Resolves rdar://117088840
This commit is contained in:
@@ -166,6 +166,7 @@ using SwiftBinaryModuleDetailsLayout =
|
||||
FileIDField, // compiledModulePath
|
||||
FileIDField, // moduleDocPath
|
||||
FileIDField, // moduleSourceInfoPath
|
||||
DependencyIDArrayIDField, // swiftOverlayDependencies
|
||||
ImportArrayIDField, // headerImports
|
||||
IsFrameworkField, // isFramework
|
||||
IdentifierIDField // moduleCacheKey
|
||||
|
||||
Reference in New Issue
Block a user