mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[bitcode project] do not encode primary file in CmdArgs.
Swift SVN r25945
This commit is contained in:
@@ -1016,6 +1016,7 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
// Do not encode output and input.
|
||||
if ((*A)->getOption().getID() == options::OPT_o ||
|
||||
(*A)->getOption().getID() == options::OPT_INPUT ||
|
||||
(*A)->getOption().getID() == options::OPT_primary_file ||
|
||||
(*A)->getOption().getID() == options::OPT_embed_bitcode)
|
||||
continue;
|
||||
ArgStringList ASL;
|
||||
|
||||
Reference in New Issue
Block a user