Skip to content

Commit 5bd60bc

Browse files
wesleywisermark-i-m
authored andcommitted
Add a mention of the new -Zllvm-time-trace flag
1 parent 0dde43f commit 5bd60bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/codegen/debugging.md

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ tutorial above):
123123
- The `-Ztime-llvm-passes` option measures the time of each LLVM pass
124124
- The `-Zverify-llvm-ir` option will verify the LLVM IR for correctness
125125
- The `-Zno-parallel-llvm` will disable parallel compilation of distinct compilation units
126+
- The `-Zllvm-time-trace` option will output a Chrome profiler compatible JSON file
127+
which contains details and timings for LLVM passes.
126128

127129
### Filing LLVM bug reports
128130

0 commit comments

Comments
 (0)