[lld] 94f7520 - [lld-macho][nfc] Remove HelpHidden from aliases to implemented flags
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 6 12:10:23 PDT 2021
Author: Jez Ng
Date: 2021-04-06T15:10:00-04:00
New Revision: 94f75202accb26d71fd3149f410e80d602fc562d
URL: https://github.com/llvm/llvm-project/commit/94f75202accb26d71fd3149f410e80d602fc562d
DIFF: https://github.com/llvm/llvm-project/commit/94f75202accb26d71fd3149f410e80d602fc562d.diff
LOG: [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
Added:
Modified:
lld/MachO/Options.td
lld/test/MachO/sectcreate.s
lld/test/MachO/why-load.s
Removed:
################################################################################
diff --git a/lld/MachO/Options.td b/lld/MachO/Options.td
index 6a963ff4df20a..90be9675383b6 100644
--- a/lld/MachO/Options.td
+++ b/lld/MachO/Options.td
@@ -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>">,
diff --git a/lld/test/MachO/sectcreate.s b/lld/test/MachO/sectcreate.s
index c90b372553c64..2934bf7865012 100644
--- 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
index e2d5c95c8846f..22a22a957bc1e 100644
--- 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
More information about the llvm-commits
mailing list