mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[CAS] Cache symbol graph outputs
The symbol graph output from a module can contain an arbitrary number of files, depending on what extensions it contains, so cache a list of symbol graph files with their base name and contents so that they can be replayed. rdar://140286819
This commit is contained in:
@@ -486,6 +486,7 @@ void CompilerInstance::setupOutputBackend() {
|
||||
auto &InAndOuts = Invocation.getFrontendOptions().InputsAndOutputs;
|
||||
CASOutputBackend = createSwiftCachingOutputBackend(
|
||||
*CAS, *ResultCache, *CompileJobBaseKey, InAndOuts,
|
||||
Invocation.getFrontendOptions(),
|
||||
Invocation.getFrontendOptions().RequestedAction);
|
||||
|
||||
if (Invocation.getIRGenOptions().UseCASBackend) {
|
||||
|
||||
Reference in New Issue
Block a user