[Dependency Scanning] Scan header inputs of binary Swift moduel dependencies

Otherwise they may have module dependencies of their own which will not be detected by the scanner and included in the list of explicit inputs for compilation.
This commit is contained in:
Artem Chikin
2024-03-04 11:19:43 -08:00
parent 918bd3d4bb
commit bfa8c0ee4f
16 changed files with 300 additions and 232 deletions

View File

@@ -168,7 +168,7 @@ protected:
struct BinaryModuleImports {
llvm::StringSet<> moduleImports;
llvm::StringSet<> headerImports;
std::string headerImport;
};
static llvm::ErrorOr<BinaryModuleImports>