@@ -2002,16 +2002,18 @@ def fparse_all_comments : Flag<["-"], "fparse-all-comments">, Group<f_clang_Grou
20022002 Visibility<[ClangOption, CC1Option]>,
20032003 MarshallingInfoFlag<LangOpts<"CommentOpts.ParseAllComments">>;
20042004def frecord_command_line : Flag<["-"], "frecord-command-line">,
2005- DocBrief<[{Generate a section named ".GCC.command.line" containing the clang
2005+ DocBrief<[{Generate a section named ".GCC.command.line" containing the
20062006driver command-line. After linking, the section may contain multiple command
20072007lines, which will be individually terminated by null bytes. Separate arguments
20082008within a command line are combined with spaces; spaces and backslashes within an
20092009argument are escaped with backslashes. This format differs from the format of
20102010the equivalent section produced by GCC with the -frecord-gcc-switches flag.
20112011This option is currently only supported on ELF targets.}]>,
2012- Group<f_clang_Group>;
2012+ Group<f_Group>,
2013+ Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>;
20132014def fno_record_command_line : Flag<["-"], "fno-record-command-line">,
2014- Group<f_clang_Group>;
2015+ Group<f_Group>,
2016+ Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>;
20152017def : Flag<["-"], "frecord-gcc-switches">, Alias<frecord_command_line>;
20162018def : Flag<["-"], "fno-record-gcc-switches">, Alias<fno_record_command_line>;
20172019def fcommon : Flag<["-"], "fcommon">, Group<f_Group>,
@@ -7166,6 +7168,9 @@ def mrelocation_model : Separate<["-"], "mrelocation-model">,
71667168 NormalizedValues<["Static", "PIC_", "ROPI", "RWPI", "ROPI_RWPI", "DynamicNoPIC"]>,
71677169 MarshallingInfoEnum<CodeGenOpts<"RelocationModel">, "PIC_">;
71687170def debug_info_kind_EQ : Joined<["-"], "debug-info-kind=">;
7171+ def record_command_line : Separate<["-"], "record-command-line">,
7172+ HelpText<"The string to embed in the .LLVM.command.line section.">,
7173+ MarshallingInfoString<CodeGenOpts<"RecordCommandLine">>;
71697174
71707175} // let Visibility = [CC1Option, CC1AsOption, FC1Option]
71717176
@@ -7186,9 +7191,6 @@ def debugger_tuning_EQ : Joined<["-"], "debugger-tuning=">,
71867191def dwarf_debug_flags : Separate<["-"], "dwarf-debug-flags">,
71877192 HelpText<"The string to embed in the Dwarf debug flags record.">,
71887193 MarshallingInfoString<CodeGenOpts<"DwarfDebugFlags">>;
7189- def record_command_line : Separate<["-"], "record-command-line">,
7190- HelpText<"The string to embed in the .LLVM.command.line section.">,
7191- MarshallingInfoString<CodeGenOpts<"RecordCommandLine">>;
71927194def compress_debug_sections_EQ : Joined<["-", "--"], "compress-debug-sections=">,
71937195 HelpText<"DWARF debug sections compression type">, Values<"none,zlib,zstd">,
71947196 NormalizedValuesScope<"llvm::DebugCompressionType">, NormalizedValues<["None", "Zlib", "Zstd"]>,
0 commit comments