mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -1088,8 +1088,11 @@ void Serializer::writeHeader(const SerializationOptions &options) {
|
||||
++Arg;
|
||||
continue;
|
||||
}
|
||||
} else if (arg.startswith("-fdebug-prefix-map=")) {
|
||||
// We don't serialize the debug prefix map flags as these
|
||||
} else if (arg.startswith("-fdebug-prefix-map=") ||
|
||||
arg.startswith("-ffile-prefix-map=") ||
|
||||
arg.startswith("-fcoverage-prefix-map=") ||
|
||||
arg.startswith("-fmacro-prefix-map=")) {
|
||||
// We don't serialize any of the prefix map flags as these flags
|
||||
// contain absolute paths that are not usable on different
|
||||
// machines. These flags are not necessary to compile the
|
||||
// clang modules again so are safe to remove.
|
||||
|
||||
Reference in New Issue
Block a user