[PATCH] D79780: [LLD][ELF] Add lld --time-trace to man page and release notes

Russell Gallop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 00:52:48 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG85bb9b71b7d4: [ELF] Update release notes and man page for LLD time-trace (authored by russell.gallop).

Changed prior to commit:
  https://reviews.llvm.org/D79780?vs=264013&id=264174#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79780

Files:
  lld/docs/ReleaseNotes.rst
  lld/docs/ld.lld.1


Index: lld/docs/ld.lld.1
===================================================================
--- lld/docs/ld.lld.1
+++ lld/docs/ld.lld.1
@@ -532,6 +532,13 @@
 (default) means all of concurrent threads supported.
 .Cm 1
 disables multi-threading.
+.It Fl -time-trace
+Record time trace.
+.It Fl -time-trace-file Ns = Ns Ar file
+Write time trace output to
+.Ar file .
+.It Fl -time-trace-granularity Ns = Ns Ar value
+Minimum time granularity (in microseconds) traced by time profiler.
 .It Fl -trace
 Print the names of the input files.
 .It Fl -trace-symbol Ns = Ns Ar symbol , Fl y Ar symbol
Index: lld/docs/ReleaseNotes.rst
===================================================================
--- lld/docs/ReleaseNotes.rst
+++ lld/docs/ReleaseNotes.rst
@@ -24,6 +24,10 @@
 ELF Improvements
 ----------------
 
+* New ``--time-trace`` option records a time trace file that can be viewed in
+  chrome://tracing. The file can be specified with ``--time-trace-file``.
+  Trace granularity can be specified with ``--time-trace-granularity``.
+  (`D71060 <https://reviews.llvm.org/D71060>`_)
 * ...
 
 Breaking changes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79780.264174.patch
Type: text/x-patch
Size: 1115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200515/d6a84e4c/attachment.bin>


More information about the llvm-commits mailing list