[lld] 46ac1b2 - [lld/mac] Put lld-only flags in "LLD-SPECIFIC:" --help section

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


Author: Nico Weber
Date: 2021-06-16T06:39:36-04:00
New Revision: 46ac1b213ac9fb694a5a834df4b6ec4fc0e7dba0

URL: https://github.com/llvm/llvm-project/commit/46ac1b213ac9fb694a5a834df4b6ec4fc0e7dba0
DIFF: https://github.com/llvm/llvm-project/commit/46ac1b213ac9fb694a5a834df4b6ec4fc0e7dba0.diff

LOG: [lld/mac] Put lld-only flags in "LLD-SPECIFIC:" --help section

Differential Revision: https://reviews.llvm.org/D104347

Added: 
    

Modified: 
    lld/MachO/Options.td

Removed: 
    


################################################################################
diff  --git a/lld/MachO/Options.td b/lld/MachO/Options.td
index b615934c87e59..945efdaea75a7 100644
--- a/lld/MachO/Options.td
+++ b/lld/MachO/Options.td
@@ -46,15 +46,20 @@ def lto_legacy_pass_manager: Flag<["--"], "lto-legacy-pass-manager">,
 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


        


More information about the llvm-commits mailing list