Fix the driver's handling of the AssertConfig option

The driver was not passing the 'AssertConfig' option to the frontend.

rdar://16805810

Swift SVN r17472
This commit is contained in:
Arnold Schwaighofer
2014-05-05 18:21:57 +00:00
parent 46780871a8
commit 3ba7225aa3
3 changed files with 8 additions and 8 deletions

View File

@@ -727,7 +727,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
}
// Parse the build configuration identifier.
if (const Arg *A = Args.getLastArg(OPT_AssertConfig_Group)) {
if (const Arg *A = Args.getLastArg(OPT_AssertConfig)) {
// We currently understand build configuration up to 3 of which we only use
// 0 and 1 in the standard library.
StringRef Configuration = A->getValue();