ModuleObjCTrace/CAS: compute objc trace file paths via the canoical supplementary output paths computation

CAS support in compiler relies on supplementary paths to decide the mapping between input and output files. Therefore, we
have to compute the paths of the module ObjC trace files in this canonical place to have CAS support for
this newly added ObjC message trace files.
This commit is contained in:
Xi Ge
2024-11-20 08:49:04 -08:00
parent fc1dac7e77
commit 51a68ecdd1
8 changed files with 32 additions and 10 deletions

View File

@@ -133,6 +133,9 @@ public:
StringRef getLoadedModuleTracePath() const {
return getPrimarySpecificPaths().SupplementaryOutputs.LoadedModuleTracePath;
}
StringRef getModuleObjCTracePath() const {
return getPrimarySpecificPaths().SupplementaryOutputs.ModuleObjCTracePath;
}
StringRef getSerializedDiagnosticsPath() const {
return getPrimarySpecificPaths().SupplementaryOutputs
.SerializedDiagnosticsPath;