@@ -4298,18 +4298,22 @@ 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- defm extend_this_ptr : BoolFOption<"extend-this-ptr",
4302- CodeGenOpts<"ExtendThisPtr">, DefaultFalse,
4303- PosFlag<SetTrue, [], [ClangOption, CC1Option],
4304- "Extend the lifetime of the 'this' pointer to improve visibility "
4305- "in optimized debugging">,
4306- NegFlag<SetFalse>>;
4307- defm extend_lifetimes : BoolFOption<"extend-lifetimes",
4308- CodeGenOpts<"ExtendLifetimes">, DefaultFalse,
4309- PosFlag<SetTrue, [], [ClangOption, CC1Option],
4310- "Extend the lifetimes of local variables and parameters to improve "
4311- "visibility in optimized debugging">,
4312- NegFlag<SetFalse>>;
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">,
4305+ Values<"all,this,none">,
4306+ 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">;
43134317
43144318defm unique_basic_block_section_names : BoolFOption<"unique-basic-block-section-names",
43154319 CodeGenOpts<"UniqueBasicBlockSectionNames">, DefaultFalse,
0 commit comments