[lld] 7aa6598 - [COFF] Add help text for /time flag to make it visible in /? output
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 15:14:18 PDT 2024
Author: Reid Kleckner
Date: 2024-07-23T22:11:53Z
New Revision: 7aa6598a244d5b1197725f26d367fb51e6630415
URL: https://github.com/llvm/llvm-project/commit/7aa6598a244d5b1197725f26d367fb51e6630415
DIFF: https://github.com/llvm/llvm-project/commit/7aa6598a244d5b1197725f26d367fb51e6630415.diff
LOG: [COFF] Add help text for /time flag to make it visible in /? output
Part of #99011
Added:
Modified:
lld/COFF/Options.td
Removed:
################################################################################
diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index 1e78a560bca86..4bc4d7c4b5a47 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -295,6 +295,8 @@ def wrap : P_priv<"wrap">;
def vfsoverlay : P<"vfsoverlay", "Path to a vfsoverlay yaml file to optionally look for /defaultlib's in">;
+def show_timing : F<"time">,
+ HelpText<"Print the time spent in each phase of linking">;
def time_trace_eq: Joined<["--"], "time-trace=">, MetaVarName<"<file>">,
HelpText<"Record time trace to <file>">;
def : Flag<["--"], "time-trace">, Alias<time_trace_eq>,
@@ -315,7 +317,6 @@ def map : F<"map">;
def map_file : P_priv<"map">;
def map_info : P<"mapinfo", "Include the specified information in a map file">;
def print_search_paths : F<"print-search-paths">;
-def show_timing : F<"time">;
def summary : F<"summary">;
//==============================================================================
More information about the llvm-commits
mailing list