Skip to content

Commit 7aa6598

Browse files
committed
[COFF] Add help text for /time flag to make it visible in /? output
Part of #99011
1 parent e7f8d4b commit 7aa6598

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lld/COFF/Options.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ def wrap : P_priv<"wrap">;
295295

296296
def vfsoverlay : P<"vfsoverlay", "Path to a vfsoverlay yaml file to optionally look for /defaultlib's in">;
297297

298+
def show_timing : F<"time">,
299+
HelpText<"Print the time spent in each phase of linking">;
298300
def time_trace_eq: Joined<["--"], "time-trace=">, MetaVarName<"<file>">,
299301
HelpText<"Record time trace to <file>">;
300302
def : Flag<["--"], "time-trace">, Alias<time_trace_eq>,
@@ -315,7 +317,6 @@ def map : F<"map">;
315317
def map_file : P_priv<"map">;
316318
def map_info : P<"mapinfo", "Include the specified information in a map file">;
317319
def print_search_paths : F<"print-search-paths">;
318-
def show_timing : F<"time">;
319320
def summary : F<"summary">;
320321

321322
//==============================================================================

0 commit comments

Comments
 (0)