about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@fb.com>2022-11-05 01:08:57 -0700
committerkhei4 <kk.asano.luxy@gmail.com>2023-07-16 22:56:04 +0900
commit2c0c87d9592d68b0cad47af9882f8bb6363187fa (patch)
tree76039f013a4c2656a07baf7dc614a02e699eb85b /tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs
parentd873fa73828c2b97f5bc432bedbcf55a65dccf4f (diff)
downloadrust-2c0c87d9592d68b0cad47af9882f8bb6363187fa.tar.gz
rust-2c0c87d9592d68b0cad47af9882f8bb6363187fa.zip
rustc_llvm: Add a `-Z print-llvm-stats` option to expose LLVM statistics.
LLVM has a neat [statistics] feature that tracks how often optimizations kick
in. It's very handy for optimization work. Since we expose the LLVM pass
timings, I thought it made sense to expose the LLVM statistics too.

[statistics]: https://llvm.org/docs/ProgrammersManual.html#the-statistic-class-stats-option
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions