about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2020-02-02 21:34:01 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-02-02 23:54:00 -0600
commitbd287110fadd706fca3f1bd4216474b2f697ee65 (patch)
treed7a6cf70376ecb5ef69865f87688350f5eed7ed7 /src/doc/rustc-dev-guide
parent7935d37e3663e3c48e9d638e962482be2825c185 (diff)
downloadrust-bd287110fadd706fca3f1bd4216474b2f697ee65.tar.gz
rust-bd287110fadd706fca3f1bd4216474b2f697ee65.zip
Add a mention of the new `-Zllvm-time-trace` flag
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/codegen/debugging.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/codegen/debugging.md b/src/doc/rustc-dev-guide/src/codegen/debugging.md
index 4eab306068c..0da29bfb9e6 100644
--- a/src/doc/rustc-dev-guide/src/codegen/debugging.md
+++ b/src/doc/rustc-dev-guide/src/codegen/debugging.md
@@ -123,6 +123,8 @@ tutorial above):
 - The `-Ztime-llvm-passes` option measures the time of each LLVM pass
 - The `-Zverify-llvm-ir` option will verify the LLVM IR for correctness
 - The `-Zno-parallel-llvm` will disable parallel compilation of distinct compilation units
+- The `-Zllvm-time-trace` option will output a Chrome profiler compatible JSON file
+  which contains details and timings for LLVM passes.
 
 ### Filing LLVM bug reports