diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2020-01-31 18:58:28 -0500 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2020-02-01 14:19:17 -0500 |
| commit | f5f86be1d40f30b3183ec148f443afa73d0cbe15 (patch) | |
| tree | b502ea8bf896068391dadc47ac11b9f6858fc219 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | cd1ef390e731ed77b90b11b1f77e2c5ca641b261 (diff) | |
| download | rust-f5f86be1d40f30b3183ec148f443afa73d0cbe15.tar.gz rust-f5f86be1d40f30b3183ec148f443afa73d0cbe15.zip | |
Add support for enabling the LLVM time-trace feature
I found this helpful while investigating an LLVM performance issue. Passing `-Z llvm-time-trace` causes a `llvm_timings.json` file to be created. This file can be inspected in either the Chrome Profiler tools or with any other compatible tool like SpeedScope. More information on the LLVM feature: - https://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/ - https://reviews.llvm.org/rL357340
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
