[lld] 85bb9b7 - [ELF] Update release notes and man page for LLD time-trace
Russell Gallop via llvm-commits
llvm-commits at lists.llvm.org
Fri May 15 00:37:55 PDT 2020
Author: Russell Gallop
Date: 2020-05-15T08:35:58+01:00
New Revision: 85bb9b71b7d42c4e6fff95b715b2eefbd8e4355e
URL: https://github.com/llvm/llvm-project/commit/85bb9b71b7d42c4e6fff95b715b2eefbd8e4355e
DIFF: https://github.com/llvm/llvm-project/commit/85bb9b71b7d42c4e6fff95b715b2eefbd8e4355e.diff
LOG: [ELF] Update release notes and man page for LLD time-trace
Differential Revision: https://reviews.llvm.org/D79780
Added:
Modified:
lld/docs/ReleaseNotes.rst
lld/docs/ld.lld.1
Removed:
################################################################################
diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst
index 8ec3ff9348f5..99769560ae51 100644
--- a/lld/docs/ReleaseNotes.rst
+++ b/lld/docs/ReleaseNotes.rst
@@ -24,6 +24,10 @@ Non-comprehensive list of changes in this release
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
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index 54c0d7162d6b..298da173d58e 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -532,6 +532,13 @@ Number of threads.
(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
More information about the llvm-commits
mailing list