mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "ModuleInterface: lock .swiftinterface while generating module cache"
This commit is contained in:
@@ -67,8 +67,6 @@ class ModuleInterfaceBuilder {
|
||||
version::Version &Vers, llvm::StringSaver &SubArgSaver,
|
||||
SmallVectorImpl<const char *> &SubArgs);
|
||||
|
||||
bool buildSwiftModuleInternal(StringRef OutPath, bool ShouldSerializeDeps,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleBuffer);
|
||||
public:
|
||||
ModuleInterfaceBuilder(SourceManager &sourceMgr, DiagnosticEngine &diags,
|
||||
const SearchPathOptions &searchPathOpts,
|
||||
@@ -104,8 +102,7 @@ public:
|
||||
}
|
||||
|
||||
bool buildSwiftModule(StringRef OutPath, bool ShouldSerializeDeps,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleBuffer,
|
||||
llvm::function_ref<void()> RemarkRebuild = nullptr);
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleBuffer);
|
||||
};
|
||||
|
||||
} // end namespace swift
|
||||
|
||||
Reference in New Issue
Block a user