forked from OSchip/llvm-project
[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:
parent
9456e720ec
commit
94f75202ac
|
@ -186,7 +186,6 @@ def segcreate : MultiArg<["-"], "segcreate", 3>,
|
||||||
MetaVarName<"<segment> <section> <file>">,
|
MetaVarName<"<segment> <section> <file>">,
|
||||||
Alias<sectcreate>,
|
Alias<sectcreate>,
|
||||||
HelpText<"Alias for -sectcreate">,
|
HelpText<"Alias for -sectcreate">,
|
||||||
Flags<[HelpHidden]>,
|
|
||||||
Group<grp_content>;
|
Group<grp_content>;
|
||||||
def filelist : Separate<["-"], "filelist">,
|
def filelist : Separate<["-"], "filelist">,
|
||||||
MetaVarName<"<file>">,
|
MetaVarName<"<file>">,
|
||||||
|
@ -332,13 +331,11 @@ def dylib_install_name : Separate<["-"], "dylib_install_name">,
|
||||||
MetaVarName<"<name>">,
|
MetaVarName<"<name>">,
|
||||||
Alias<install_name>,
|
Alias<install_name>,
|
||||||
HelpText<"Alias for -install_name">,
|
HelpText<"Alias for -install_name">,
|
||||||
Flags<[HelpHidden]>,
|
|
||||||
Group<grp_dylib>;
|
Group<grp_dylib>;
|
||||||
def dylinker_install_name : Separate<["-"], "dylinker_install_name">,
|
def dylinker_install_name : Separate<["-"], "dylinker_install_name">,
|
||||||
MetaVarName<"<name>">,
|
MetaVarName<"<name>">,
|
||||||
Alias<install_name>,
|
Alias<install_name>,
|
||||||
HelpText<"Alias for -install_name">,
|
HelpText<"Alias for -install_name">,
|
||||||
Flags<[HelpHidden]>,
|
|
||||||
Group<grp_dylib>;
|
Group<grp_dylib>;
|
||||||
def mark_dead_strippable_dylib : Flag<["-"], "mark_dead_strippable_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">,
|
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">,
|
def whyload : Flag<["-"], "whyload">,
|
||||||
Alias<why_load>,
|
Alias<why_load>,
|
||||||
HelpText<"Alias for -why_load">,
|
HelpText<"Alias for -why_load">,
|
||||||
Flags<[HelpHidden]>,
|
|
||||||
Group<grp_introspect>;
|
Group<grp_introspect>;
|
||||||
def why_live : Separate<["-"], "why_live">,
|
def why_live : Separate<["-"], "why_live">,
|
||||||
MetaVarName<"<symbol>">,
|
MetaVarName<"<symbol>">,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# RUN: echo "-sectcreate 2" >%t3
|
# RUN: echo "-sectcreate 2" >%t3
|
||||||
# RUN: %lld \
|
# RUN: %lld \
|
||||||
# RUN: -sectcreate SEG SEC1 %t1 \
|
# RUN: -sectcreate SEG SEC1 %t1 \
|
||||||
# RUN: -sectcreate SEG SEC2 %t3 \
|
# RUN: -segcreate SEG SEC2 %t3 \
|
||||||
# RUN: -sectcreate SEG SEC1 %t2 \
|
# RUN: -sectcreate SEG SEC1 %t2 \
|
||||||
# RUN: -o %t %t.o
|
# RUN: -o %t %t.o
|
||||||
# RUN: llvm-objdump -s %t | FileCheck %s
|
# RUN: llvm-objdump -s %t | FileCheck %s
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# The first line checks that we never demangle symbols in -why_load output.
|
# 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: %lld %t/main.o %t/lib.a -o /dev/null -why_load -demangle | \
|
||||||
# RUN: FileCheck %s --check-prefix=WHY
|
# 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: FileCheck %s --check-prefix=WHYFORCE
|
||||||
# RUN: %lld %t/main.o %t/lib.a -o /dev/null -all_load -why_load | \
|
# RUN: %lld %t/main.o %t/lib.a -o /dev/null -all_load -why_load | \
|
||||||
# RUN: FileCheck %s --check-prefix=WHYALL
|
# RUN: FileCheck %s --check-prefix=WHYALL
|
||||||
|
|
Loading…
Reference in New Issue