Add -debugger-support to permit the inevitable series of exceptions

and special-cases that we want to permit when parsing for the debugger.

Swift SVN r13754
This commit is contained in:
John McCall
2014-02-10 18:47:00 +00:00
parent 5757f732b0
commit b095a5efd8
3 changed files with 10 additions and 0 deletions

View File

@@ -475,6 +475,10 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.DebugConstraintSolver = true;
}
if (Args.hasArg(OPT_debugger_support)) {
Opts.DebuggerSupport = true;
}
if (const Arg *A = Args.getLastArg(OPT_debug_constraints_attempt)) {
unsigned attempt;
if (StringRef(A->getValue()).getAsInteger(10, attempt)) {