[Caching] Fix a typo in legacy layout file name

Fix a typo in the name of legacy layout file name that causes the legacy
layouts are not ingested into the CASFS for cached compilation.

rdar://119622429
This commit is contained in:
Steven Wu
2023-12-13 10:51:16 -08:00
parent 443cac20fb
commit cbf2bfb6d3
2 changed files with 33 additions and 1 deletions

View File

@@ -459,7 +459,7 @@ void SwiftDependencyTracker::addCommonSearchPathDeps(
std::error_code EC;
for (auto &Arch : AllSupportedArches) {
SmallString<256> LayoutFile(RuntimeLibPath);
llvm::sys::path::append(LayoutFile, "layout-" + Arch + ".yaml");
llvm::sys::path::append(LayoutFile, "layouts-" + Arch + ".yaml");
FS->status(LayoutFile);
}
}