From bd287110fadd706fca3f1bd4216474b2f697ee65 Mon Sep 17 00:00:00 2001 From: Wesley Wiser Date: Sun, 2 Feb 2020 21:34:01 -0500 Subject: Add a mention of the new `-Zllvm-time-trace` flag --- src/doc/rustc-dev-guide/src/codegen/debugging.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/doc') 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 -- cgit 1.4.1-3-g733a5