@@ -1994,18 +1994,16 @@ def fparse_all_comments : Flag<["-"], "fparse-all-comments">, Group<f_clang_Grou
19941994 Visibility<[ClangOption, CC1Option]>,
19951995 MarshallingInfoFlag<LangOpts<"CommentOpts.ParseAllComments">>;
19961996def frecord_command_line : Flag<["-"], "frecord-command-line">,
1997- DocBrief<[{Generate a section named ".GCC.command.line" containing the
1997+ DocBrief<[{Generate a section named ".GCC.command.line" containing the clang
19981998driver command-line. After linking, the section may contain multiple command
19991999lines, which will be individually terminated by null bytes. Separate arguments
20002000within a command line are combined with spaces; spaces and backslashes within an
20012001argument are escaped with backslashes. This format differs from the format of
20022002the equivalent section produced by GCC with the -frecord-gcc-switches flag.
20032003This option is currently only supported on ELF targets.}]>,
2004- Group<f_Group>,
2005- Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>;
2004+ Group<f_clang_Group>;
20062005def fno_record_command_line : Flag<["-"], "fno-record-command-line">,
2007- Group<f_Group>,
2008- Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>;
2006+ Group<f_clang_Group>;
20092007def : Flag<["-"], "frecord-gcc-switches">, Alias<frecord_command_line>;
20102008def : Flag<["-"], "fno-record-gcc-switches">, Alias<fno_record_command_line>;
20112009def fcommon : Flag<["-"], "fcommon">, Group<f_Group>,
@@ -7149,9 +7147,6 @@ def mrelocation_model : Separate<["-"], "mrelocation-model">,
71497147 NormalizedValues<["Static", "PIC_", "ROPI", "RWPI", "ROPI_RWPI", "DynamicNoPIC"]>,
71507148 MarshallingInfoEnum<CodeGenOpts<"RelocationModel">, "PIC_">;
71517149def debug_info_kind_EQ : Joined<["-"], "debug-info-kind=">;
7152- def record_command_line : Separate<["-"], "record-command-line">,
7153- HelpText<"The string to embed in the .LLVM.command.line section.">,
7154- MarshallingInfoString<CodeGenOpts<"RecordCommandLine">>;
71557150
71567151} // let Visibility = [CC1Option, CC1AsOption, FC1Option]
71577152
@@ -7172,6 +7167,9 @@ def debugger_tuning_EQ : Joined<["-"], "debugger-tuning=">,
71727167def dwarf_debug_flags : Separate<["-"], "dwarf-debug-flags">,
71737168 HelpText<"The string to embed in the Dwarf debug flags record.">,
71747169 MarshallingInfoString<CodeGenOpts<"DwarfDebugFlags">>;
7170+ def record_command_line : Separate<["-"], "record-command-line">,
7171+ HelpText<"The string to embed in the .LLVM.command.line section.">,
7172+ MarshallingInfoString<CodeGenOpts<"RecordCommandLine">>;
71757173def compress_debug_sections_EQ : Joined<["-", "--"], "compress-debug-sections=">,
71767174 HelpText<"DWARF debug sections compression type">, Values<"none,zlib,zstd">,
71777175 NormalizedValuesScope<"llvm::DebugCompressionType">, NormalizedValues<["None", "Zlib", "Zstd"]>,
0 commit comments