[PATCH] D104347: [lld/mac] Make sure all lld-specific flags show up in the "LLD-SPECIFIC:" --help section

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 03:39:52 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG46ac1b213ac9: [lld/mac] Put lld-only flags in "LLD-SPECIFIC:" --help section (authored by thakis).
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104347/new/

https://reviews.llvm.org/D104347

Files:
  lld/MachO/Options.td


Index: lld/MachO/Options.td
===================================================================
--- lld/MachO/Options.td
+++ lld/MachO/Options.td
@@ -46,15 +46,20 @@
 def no_lto_legacy_pass_manager : Flag<["--"], "no-lto-legacy-pass-manager">,
     HelpText<"Use the new pass manager in LLVM">,
     Group<grp_lld>;
-def time_trace: Flag<["--"], "time-trace">, HelpText<"Record time trace">;
+def time_trace: Flag<["--"], "time-trace">, HelpText<"Record time trace">,
+    Group<grp_lld>;
 def time_trace_granularity_eq: Joined<["--"], "time-trace-granularity=">,
-    HelpText<"Minimum time granularity (in microseconds) traced by time profiler">;
+    HelpText<"Minimum time granularity (in microseconds) traced by time profiler">,
+    Group<grp_lld>;
 def time_trace_file_eq: Joined<["--"], "time-trace-file=">,
-    HelpText<"Specify time trace output file">;
+    HelpText<"Specify time trace output file">,
+    Group<grp_lld>;
 def deduplicate_literals: Flag<["--"], "deduplicate-literals">,
-    HelpText<"Enable literal deduplication">;
+    HelpText<"Enable literal deduplication">,
+    Group<grp_lld>;
 def print_dylib_search: Flag<["--"], "print-dylib-search">,
-    HelpText<"Print which paths lld searched when trying to find dylibs">;
+    HelpText<"Print which paths lld searched when trying to find dylibs">,
+    Group<grp_lld>;
 
 // This is a complete Options.td compiled from Apple's ld(1) manpage
 // dated 2018-03-07 and cross checked with ld64 source code in repo


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104347.352385.patch
Type: text/x-patch
Size: 1490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/82808731/attachment.bin>


More information about the llvm-commits mailing list