[ModuleInterface] Pass -Rmodule-interface-rebuild to sub-invocation (#24737)

Previously, we wouldn't pass this flag to sub-invocations, which means
that if we had to fall back and recompile a transitive import, we
wouldn't get a remark.

rdar://50729662
This commit is contained in:
Harlan Haskins
2019-05-13 12:56:18 -07:00
committed by GitHub
parent cfc2dda69a
commit 5cb98bfe80
4 changed files with 41 additions and 6 deletions

View File

@@ -167,7 +167,8 @@ public:
static bool buildSwiftModuleFromSwiftInterface(
ASTContext &Ctx, StringRef CacheDir, StringRef PrebuiltCacheDir,
StringRef ModuleName, StringRef InPath, StringRef OutPath,
bool SerializeDependencyHashes, bool TrackSystemDependencies);
bool SerializeDependencyHashes, bool TrackSystemDependencies,
bool RemarkOnRebuildFromInterface);
};
/// Extract the specified-or-defaulted -module-cache-path that winds up in