[frontend] Added support for parsing the “-emit-verbose-sil” frontend argument.

This is not yet hooked up anywhere (beyond FrontendOptions), since the integrated frontend does not yet know how to emit SIL.

Swift SVN r11161
This commit is contained in:
Connor Wakamo
2013-12-12 00:48:13 +00:00
parent a5a67f90ab
commit 4ede1d0c23
3 changed files with 14 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ static bool ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
Opts.SerializedDiagnosticsPath = A->getValue();
}
if (Args.hasArg(OPT_emit_verbose_sil)) {
Opts.EmitVerboseSIL = true;
}
for (const Arg *A : make_range(Args.filtered_begin(OPT_INPUT),
Args.filtered_end())) {
Opts.InputFilenames.push_back(A->getValue());