We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e082f20 commit f7cd52aCopy full SHA for f7cd52a
clang/lib/Frontend/CompileJobCache.cpp
@@ -87,7 +87,8 @@ class ObjectStoreCachingOutputs : public CompileJobCache::CachingOutputs {
87
UseCASBackend),
88
ComputedJobNeedsReplay(WriteOutputAsCASID || UseCASBackend),
89
MCOutputID(MCOutputID), CAS(std::move(DB)), Cache(std::move(Cache)) {
90
- CASOutputs = llvm::makeIntrusiveRefCnt<llvm::cas::CASOutputBackend>(*CAS);
+ if (CAS)
91
+ CASOutputs = llvm::makeIntrusiveRefCnt<llvm::cas::CASOutputBackend>(*CAS);
92
}
93
94
Expected<std::optional<int>>
0 commit comments