Skip to content

Commit 8929850

Browse files
committed
Drop bypass from CrossProcessModuleCache::getLock()
1 parent 276dd08 commit 8929850

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/Serialization/ModuleCache.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ class CrossProcessModuleCache : public ModuleCache {
118118

119119
std::unique_ptr<llvm::AdvisoryLock>
120120
getLock(StringRef ModuleFilename) override {
121-
// This is a compiler-internal input/output, let's bypass the sandbox.
122-
auto BypassSandbox = llvm::sys::sandbox::scopedDisable();
123-
124121
return std::make_unique<llvm::LockFileManager>(ModuleFilename);
125122
}
126123

0 commit comments

Comments
 (0)