mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: pass down block list file paths to module interface building context and command lines
This commit is contained in:
@@ -1697,6 +1697,13 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
// module cache path at this point.
|
||||
if (buildModuleCacheDirIfAbsent && !moduleCachePath.empty())
|
||||
(void)llvm::sys::fs::create_directories(moduleCachePath);
|
||||
|
||||
// Inherit all block list configuration files
|
||||
frontendOpts.BlocklistConfigFilePaths = langOpts.BlocklistConfigFilePaths;
|
||||
for (auto &blocklist: langOpts.BlocklistConfigFilePaths) {
|
||||
GenericArgs.push_back("-blocklist-file");
|
||||
GenericArgs.push_back(blocklist);
|
||||
}
|
||||
}
|
||||
|
||||
/// Calculate an output filename in \p genericSubInvocation's cache path that
|
||||
|
||||
Reference in New Issue
Block a user