mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -2003,6 +2003,9 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
// -experimental-skip-*-function-bodies to SIL.
|
||||
Opts.SkipFunctionBodies = TCOpts.SkipFunctionBodies;
|
||||
|
||||
// Propagate -experimental-skip-non-exportable-decls to SIL.
|
||||
Opts.SkipNonExportableDecls = FEOpts.SkipNonExportableDecls;
|
||||
|
||||
// Parse the optimization level.
|
||||
// Default to Onone settings if no option is passed.
|
||||
Opts.OptMode = OptimizationMode::NoOptimization;
|
||||
|
||||
Reference in New Issue
Block a user