mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Teach SwiftModules To Embed Incremental Information
Take advantage of the binary swiftdeps serialization utliities built during #32131. Add a new optional information block to swiftdeps files. For now, don't actually serialize swiftdeps information. Frontends will use this information to determine whether to write incremental dependencies across modules into their swiftdeps files. We will then teach the driver to deserialize the data from this section and integrate it into its incremental decision making.
This commit is contained in:
@@ -238,7 +238,8 @@ int main(int argc, char *argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (writeFineGrainedDependencyGraph(diags, options::OutputFilename, fg)) {
|
||||
if (writeFineGrainedDependencyGraphToPath(
|
||||
diags, options::OutputFilename, fg)) {
|
||||
llvm::errs() << "Failed to write binary swiftdeps\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user