forked from OSchip/llvm-project
Remove "ELF Only" from -f*-sections help text
-ffunction-sections and -fdata-sections are well supported by many object file formats: - ELF - COFF - XCOFF - wasm Only MachO ignores this flag. While here, remove it from -funique-section-names. Wasm honors this option. Addresses PR44910. Reviewed By: hans, aaron.ballman Differential Revision: https://reviews.llvm.org/D74634
This commit is contained in:
parent
47282b1b4b
commit
a0a1f412fd
|
@ -1952,10 +1952,10 @@ def fwritable_strings : Flag<["-"], "fwritable-strings">, Group<f_Group>, Flags<
|
|||
def fzero_initialized_in_bss : Flag<["-"], "fzero-initialized-in-bss">, Group<f_Group>;
|
||||
def ffunction_sections : Flag<["-"], "ffunction-sections">, Group<f_Group>,
|
||||
Flags<[CC1Option]>,
|
||||
HelpText<"Place each function in its own section (ELF Only)">;
|
||||
HelpText<"Place each function in its own section">;
|
||||
def fno_function_sections : Flag<["-"], "fno-function-sections">, Group<f_Group>;
|
||||
def fdata_sections : Flag <["-"], "fdata-sections">, Group<f_Group>,
|
||||
Flags<[CC1Option]>, HelpText<"Place each data in its own section (ELF Only)">;
|
||||
Flags<[CC1Option]>, HelpText<"Place each data in its own section">;
|
||||
def fno_data_sections : Flag <["-"], "fno-data-sections">, Group<f_Group>;
|
||||
def fstack_size_section : Flag<["-"], "fstack-size-section">, Group<f_Group>, Flags<[CC1Option]>,
|
||||
HelpText<"Emit section containing metadata on function stack sizes">;
|
||||
|
@ -1964,7 +1964,7 @@ def fno_stack_size_section : Flag<["-"], "fno-stack-size-section">, Group<f_Grou
|
|||
|
||||
def funique_section_names : Flag <["-"], "funique-section-names">,
|
||||
Group<f_Group>,
|
||||
HelpText<"Use unique names for text and data sections (ELF Only)">;
|
||||
HelpText<"Use unique names for text and data sections">;
|
||||
def fno_unique_section_names : Flag <["-"], "fno-unique-section-names">,
|
||||
Group<f_Group>, Flags<[CC1Option]>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue