@@ -4298,22 +4298,23 @@ def stack_usage_file : Separate<["-"], "stack-usage-file">,
42984298 Visibility<[CC1Option]>,
42994299 HelpText<"Filename (or -) to write stack usage output to">,
43004300 MarshallingInfoString<CodeGenOpts<"StackUsageOutput">>;
4301- def fextend_lifetimes_EQ : Joined<["-"], "fextend-lifetimes=">, Group<f_Group >,
4302- Visibility<[ClangOption, CC1Option]>,
4303- HelpText<"Extend the lifetimes of variables to improve visibility in "
4304- "optimized debugging">,
4301+ def fextend_variable_liveness_EQ : Joined<["-"], "fextend-variable-liveness=" >,
4302+ Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
4303+ HelpText<"Extend the liveness of user variables through optimizations to "
4304+ "prevent stale or optimized-out variable values when debugging. ">,
43054305 Values<"all,this,none">,
43064306 NormalizedValues<["All", "This", "None"]>,
4307- NormalizedValuesScope<"CodeGenOptions::ExtendLifetimesKind">,
4308- MarshallingInfoEnum<CodeGenOpts<"ExtendLifetimes">, "None">;
4309- def fextend_this_ptr : Flag<["-"], "fextend-this-ptr">,
4310- Alias<fextend_lifetimes_EQ>, AliasArgs<["this"]>,
4311- HelpText<"Extend the lifetime of the 'this' pointer to improve visibility "
4312- "in optimized debugging">;
4313- def fextend_lifetimes : Flag<["-"], "fextend-lifetimes">,
4314- Alias<fextend_lifetimes_EQ>, AliasArgs<["all"]>,
4315- HelpText<"Extend the lifetimes of local variables and parameters to improve "
4316- "visibility in optimized debugging">;
4307+ NormalizedValuesScope<"CodeGenOptions::ExtendVariableLivenessKind">,
4308+ MarshallingInfoEnum<CodeGenOpts<"ExtendVariableLiveness">, "None">;
4309+ def fextend_this_ptr_liveness : Flag<["-"], "fextend-this-ptr-liveness">,
4310+ Alias<fextend_variable_liveness_EQ>, AliasArgs<["this"]>,
4311+ HelpText<"Extend the liveness of the `this` pointer through optimizations to "
4312+ "prevent a stale or optimized-out value when debugging.">;
4313+ def fextend_variable_liveness : Flag<["-"], "fextend-variable-liveness">,
4314+ Alias<fextend_variable_liveness_EQ>, AliasArgs<["all"]>,
4315+ HelpText<"Extend the liveness of all local variables and parameters through "
4316+ "optimizations to prevent stale or optimized-out variable values "
4317+ "when debugging.">;
43174318
43184319defm unique_basic_block_section_names : BoolFOption<"unique-basic-block-section-names",
43194320 CodeGenOpts<"UniqueBasicBlockSectionNames">, DefaultFalse,
0 commit comments