Merge branch 'main' into public-module-name

This commit is contained in:
Alexis Laferrière
2024-09-05 20:02:07 -07:00
committed by GitHub
240 changed files with 5933 additions and 2049 deletions

View File

@@ -1325,6 +1325,7 @@ bool swift::extractCompilerFlagsFromInterface(
// we have loaded a Swift interface from a different-but-compatible
// architecture slice. Use the compatible subarchitecture.
for (unsigned I = 1; I < SubArgs.size(); ++I) {
// FIXME: Also fix up -target-variant (rdar://135322077).
if (strcmp(SubArgs[I - 1], "-target") != 0) {
continue;
}