mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[TBDGen] Skip non-inlinable function bodies in InstallAPI
For now, until we figure out the right way to present -experimental-skip-non-inlinable-function-bodies, make -tbd-is-installapi imply that, for testing.
This commit is contained in:
@@ -228,6 +228,12 @@ void ArgsToFrontendOptionsConverter::computeDebugTimeOptions() {
|
||||
Opts.DebugTimeCompilation |= Args.hasArg(OPT_debug_time_compilation);
|
||||
Opts.SkipNonInlinableFunctionBodies |=
|
||||
Args.hasArg(OPT_experimental_skip_non_inlinable_function_bodies);
|
||||
|
||||
// If asked to perform InstallAPI, go ahead and enable non-inlinable function
|
||||
// body skipping.
|
||||
Opts.SkipNonInlinableFunctionBodies |=
|
||||
Args.hasArg(OPT_tbd_is_installapi);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_stats_output_dir)) {
|
||||
Opts.StatsOutputDir = A->getValue();
|
||||
if (Args.getLastArg(OPT_trace_stats_events)) {
|
||||
|
||||
Reference in New Issue
Block a user