[PATCH] D128451: [lld, ELF and mac] Add --time-trace=<file>, remove --time-trace-file=<file>

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 12:26:20 PDT 2022


MaskRay added a comment.

Add an item to lld/docs/ReleaseNotes.rst "Breaking changes"



================
Comment at: lld/ELF/Options.td:411
 
-def time_trace: FF<"time-trace">, HelpText<"Record time trace">;
-def time_trace_file_eq: JJ<"time-trace-file=">, HelpText<"Specify time trace output file">;
+def time_trace_eq: JJ<"time-trace=">, MetaVarName<"<file>">,
+  HelpText<"Record time trace to <file>">;
----------------
Use `def time_trace`


================
Comment at: lld/ELF/Options.td:413
+  HelpText<"Record time trace to <file>">;
+def time_trace: FF<"time-trace">, Alias<time_trace_eq>,
+  HelpText<"Record time trace to file next to output">;
----------------
An alias does not need a name.


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

https://reviews.llvm.org/D128451



More information about the llvm-commits mailing list