about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-31 03:20:33 +0000
committerbors <bors@rust-lang.org>2021-03-31 03:20:33 +0000
commit6ff482bde5d22a3a0171edb3245327f43cf9b593 (patch)
treee785cd9af3f92d4bd0ebc38bc7f0f33ba3d3a009 /compiler/rustc_codegen_llvm/src/lib.rs
parent65b44b0320e88f5a0608126c36b02be1b840700f (diff)
parentcad9b6b695e86c7c23482876d2f6fefd64451ab3 (diff)
downloadrust-6ff482bde5d22a3a0171edb3245327f43cf9b593.tar.gz
rust-6ff482bde5d22a3a0171edb3245327f43cf9b593.zip
Auto merge of #83666 - Amanieu:instrprof-order, r=tmandry
Run LLVM coverage instrumentation passes before optimization passes

This matches the behavior of Clang and allows us to remove several
hacks which were needed to ensure functions weren't optimized away
before reaching the instrumentation pass.

Fixes #83429

cc `@richkadel`

r? `@tmandry`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions