mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Caching] Fix typecheck swiftinterface with prefix map
SwiftVerifyEmittedModuleInterface job is configured to be built within the SubInvocation and it needs to inherit the caching replay prefix map in order to load macro plugin library correctly. rdar://158692095
This commit is contained in:
@@ -588,6 +588,7 @@ public:
|
||||
StringRef CacheDir, StringRef PrebuiltCacheDir,
|
||||
StringRef BackupInterfaceDir, StringRef ModuleName, StringRef InPath,
|
||||
StringRef OutPath, StringRef ABIOutputPath,
|
||||
ArrayRef<std::pair<std::string, std::string>> replayPrefixMap,
|
||||
bool SerializeDependencyHashes, bool TrackSystemDependencies,
|
||||
ModuleInterfaceLoaderOptions Opts,
|
||||
RequireOSSAModules_t RequireOSSAModules,
|
||||
@@ -675,7 +676,9 @@ public:
|
||||
const ClangImporterOptions &clangImporterOpts, const CASOptions &casOpts,
|
||||
ModuleInterfaceLoaderOptions LoaderOpts, bool buildModuleCacheDirIfAbsent,
|
||||
StringRef moduleCachePath, StringRef prebuiltCachePath,
|
||||
StringRef backupModuleInterfaceDir, bool serializeDependencyHashes,
|
||||
StringRef backupModuleInterfaceDir,
|
||||
ArrayRef<std::pair<std::string, std::string>> replayPrefixMap,
|
||||
bool serializeDependencyHashes,
|
||||
bool trackSystemDependencies, RequireOSSAModules_t requireOSSAModules);
|
||||
|
||||
template<typename ...ArgTypes>
|
||||
|
||||
Reference in New Issue
Block a user