mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Sanitize -embed-bitcode flag to avoid crashing. rdar://22874139
This commit is contained in:
@@ -364,6 +364,8 @@ static void sanitizeCompilerArgs(ArrayRef<const char *> Args,
|
||||
continue;
|
||||
if (Arg == "-Xfrontend")
|
||||
continue;
|
||||
if (Arg == "-embed-bitcode")
|
||||
continue;
|
||||
NewArgs.push_back(CArg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user