mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user