[Dependency Scanning] Remove references to per-triple PCM variant compilation

This commit is contained in:
Artem Chikin
2025-01-28 17:10:22 -08:00
parent 41e471288a
commit 477ba0dd97
23 changed files with 197 additions and 326 deletions

View File

@@ -157,7 +157,7 @@ SwiftModuleScanner::scanInterfaceFile(Twine moduleInterfacePath,
realModuleName.str(), moduleInterfacePath.str(), sdkPath,
StringRef(), SourceLoc(),
[&](ASTContext &Ctx, ModuleDecl *mainMod, ArrayRef<StringRef> BaseArgs,
ArrayRef<StringRef> PCMArgs, StringRef Hash, StringRef UserModVer) {
StringRef Hash, StringRef UserModVer) {
assert(mainMod);
std::string InPath = moduleInterfacePath.str();
auto compiledCandidates =
@@ -249,7 +249,7 @@ SwiftModuleScanner::scanInterfaceFile(Twine moduleInterfacePath,
Result = ModuleDependencyInfo::forSwiftInterfaceModule(
outputPathBase.str().str(), InPath, compiledCandidatesRefs,
ArgsRefs, {}, {}, linkLibraries, PCMArgs, Hash, isFramework,
ArgsRefs, {}, {}, linkLibraries, Hash, isFramework,
isStatic, {}, /*module-cache-key*/ "", UserModVer);
if (Ctx.CASOpts.EnableCaching) {