[PATCH] D80582: Specify the complete set of command-line options for ld64
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 13:38:22 PDT 2020
gkm added inline comments.
================
Comment at: lld/MachO/Options.td:5
-def Z: Flag<["-"], "Z">,
- HelpText<"Do not add standard directories to library search path">;
+def grp_kind : OptionGroup<"kind">, HelpText<"OUTPUT KIND">;
----------------
I notice that the `--help` output sorts option groups alphabetically by the group's `HelpText`. That's not so great. I would rather see the groups presented in the order listed here in `Options.td`.
Two remedies:
# hack the help generator to preserve source order--as new behavior? as an option?--or
# prefix each `HelpText` with a sequence number or letter so the sorting preserves desired order.
Preference?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80582/new/
https://reviews.llvm.org/D80582
More information about the llvm-commits
mailing list