From c1d96c73b84e2500fd5e7a2ffa962a2efe51a695 Mon Sep 17 00:00:00 2001 From: Wesley Wiser Date: Sun, 2 Feb 2020 21:34:01 -0500 Subject: [PATCH] Add a mention of the new `-Zllvm-time-trace` flag --- src/codegen/debugging.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/codegen/debugging.md b/src/codegen/debugging.md index 4eab3060..0da29bfb 100644 --- a/src/codegen/debugging.md +++ b/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