about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-02 20:33:47 +0000
committerbors <bors@rust-lang.org>2020-02-02 20:33:47 +0000
commit8f49d4629711986a59b1627f6390150324af162c (patch)
tree153dfc3abe2f4b7b3c4c0d210252299f9dd6f92d /src/test/codegen/src-hash-algorithm
parentf43c34a134358471726f25fe5973b8c7e177c825 (diff)
parentf5f86be1d40f30b3183ec148f443afa73d0cbe15 (diff)
downloadrust-8f49d4629711986a59b1627f6390150324af162c.tar.gz
rust-8f49d4629711986a59b1627f6390150324af162c.zip
Auto merge of #68720 - wesleywiser:llvm_time_trace, r=davidtwco
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 with 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')
0 files changed, 0 insertions, 0 deletions