[Frontend] Set up output file .swiftmodule.summary

This patch focus on teaching frontend and driver to emit this file.
The actual serialization and deserialization implementation will come
later.
This commit is contained in:
Yuta Saito
2020-08-04 17:08:46 +09:00
parent e387b36656
commit 43fb346b67
18 changed files with 151 additions and 1 deletions

View File

@@ -466,6 +466,12 @@ bool FrontendInputsAndOutputs::hasPrivateModuleInterfaceOutputPath() const {
return outs.PrivateModuleInterfaceOutputPath;
});
}
bool FrontendInputsAndOutputs::hasModuleSummaryOutputPath() const {
return hasSupplementaryOutputPath(
[](const SupplementaryOutputPaths &outs) -> const std::string & {
return outs.ModuleSummaryOutputPath;
});
}
bool FrontendInputsAndOutputs::hasTBDPath() const {
return hasSupplementaryOutputPath(
[](const SupplementaryOutputPaths &outs) -> const std::string & {