mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #34612 from xymus/dont-skip-nested-types
[Sema] Add flag to optimize building swiftmodule files preserving type info for LLDB
This commit is contained in:
@@ -729,6 +729,12 @@ static bool ParseTypeCheckerArgs(TypeCheckerOptions &Opts, ArgList &Args,
|
||||
Opts.DebugTimeExpressions |=
|
||||
Args.hasArg(OPT_debug_time_expression_type_checking);
|
||||
|
||||
// Check for SkipFunctionBodies arguments in order from skipping less to
|
||||
// skipping more.
|
||||
if (Args.hasArg(
|
||||
OPT_experimental_skip_non_inlinable_function_bodies_without_types))
|
||||
Opts.SkipFunctionBodies = FunctionBodySkipping::NonInlinableWithoutTypes;
|
||||
|
||||
// If asked to perform InstallAPI, go ahead and enable non-inlinable function
|
||||
// body skipping.
|
||||
if (Args.hasArg(OPT_experimental_skip_non_inlinable_function_bodies) ||
|
||||
|
||||
Reference in New Issue
Block a user