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