[lld-macho][nfc] Remove HelpHidden from aliases to implemented flags

This is a no-op. Just cleaning up Options.td...

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D99874
This commit is contained in:
Jez Ng 2021-04-06 15:09:12 -04:00
parent 9456e720ec
commit 94f75202ac
3 changed files with 2 additions and 6 deletions

View File

@ -186,7 +186,6 @@ def segcreate : MultiArg<["-"], "segcreate", 3>,
MetaVarName<"<segment> <section> <file>">,
Alias<sectcreate>,
HelpText<"Alias for -sectcreate">,
Flags<[HelpHidden]>,
Group<grp_content>;
def filelist : Separate<["-"], "filelist">,
MetaVarName<"<file>">,
@ -332,13 +331,11 @@ def dylib_install_name : Separate<["-"], "dylib_install_name">,
MetaVarName<"<name>">,
Alias<install_name>,
HelpText<"Alias for -install_name">,
Flags<[HelpHidden]>,
Group<grp_dylib>;
def dylinker_install_name : Separate<["-"], "dylinker_install_name">,
MetaVarName<"<name>">,
Alias<install_name>,
HelpText<"Alias for -install_name">,
Flags<[HelpHidden]>,
Group<grp_dylib>;
def mark_dead_strippable_dylib : Flag<["-"], "mark_dead_strippable_dylib">,
HelpText<"Mark output dylib as dead-strippable: When a client links against it but does not use any of its symbols, the dylib will not be added to the client's list of needed dylibs">,
@ -478,7 +475,6 @@ def why_load : Flag<["-"], "why_load">,
def whyload : Flag<["-"], "whyload">,
Alias<why_load>,
HelpText<"Alias for -why_load">,
Flags<[HelpHidden]>,
Group<grp_introspect>;
def why_live : Separate<["-"], "why_live">,
MetaVarName<"<symbol>">,

View File

@ -5,7 +5,7 @@
# RUN: echo "-sectcreate 2" >%t3
# RUN: %lld \
# RUN: -sectcreate SEG SEC1 %t1 \
# RUN: -sectcreate SEG SEC2 %t3 \
# RUN: -segcreate SEG SEC2 %t3 \
# RUN: -sectcreate SEG SEC1 %t2 \
# RUN: -o %t %t.o
# RUN: llvm-objdump -s %t | FileCheck %s

View File

@ -12,7 +12,7 @@
# The first line checks that we never demangle symbols in -why_load output.
# RUN: %lld %t/main.o %t/lib.a -o /dev/null -why_load -demangle | \
# RUN: FileCheck %s --check-prefix=WHY
# RUN: %lld %t/main.o -force_load %t/lib.a -o /dev/null -why_load | \
# RUN: %lld %t/main.o -force_load %t/lib.a -o /dev/null -whyload | \
# RUN: FileCheck %s --check-prefix=WHYFORCE
# RUN: %lld %t/main.o %t/lib.a -o /dev/null -all_load -why_load | \
# RUN: FileCheck %s --check-prefix=WHYALL