diff --git a/lld/MachO/Options.td b/lld/MachO/Options.td --- a/lld/MachO/Options.td +++ b/lld/MachO/Options.td @@ -189,7 +189,6 @@ MetaVarName<"
">, Alias, HelpText<"Alias for -sectcreate">, - Flags<[HelpHidden]>, Group; def filelist : Separate<["-"], "filelist">, MetaVarName<"">, @@ -335,13 +334,11 @@ MetaVarName<"">, Alias, HelpText<"Alias for -install_name">, - Flags<[HelpHidden]>, Group; def dylinker_install_name : Separate<["-"], "dylinker_install_name">, MetaVarName<"">, Alias, HelpText<"Alias for -install_name">, - Flags<[HelpHidden]>, Group; 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">, @@ -481,7 +478,6 @@ def whyload : Flag<["-"], "whyload">, Alias, HelpText<"Alias for -why_load">, - Flags<[HelpHidden]>, Group; def why_live : Separate<["-"], "why_live">, MetaVarName<"">, diff --git a/lld/test/MachO/sectcreate.s b/lld/test/MachO/sectcreate.s --- a/lld/test/MachO/sectcreate.s +++ b/lld/test/MachO/sectcreate.s @@ -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 diff --git a/lld/test/MachO/why-load.s b/lld/test/MachO/why-load.s --- a/lld/test/MachO/why-load.s +++ b/lld/test/MachO/why-load.s @@ -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