1 // Test that the initial version of Rust coverage injects count_code_region() placeholder calls,
2 // at the top of each function. The placeholders are later converted into LLVM instrprof.increment
3 // intrinsics, during codegen.
5 // needs-profiler-support
6 // compile-flags: -Zinstrument-coverage
7 // EMIT_MIR rustc.main.InstrumentCoverage.diff
8 // EMIT_MIR rustc.bar.InstrumentCoverage.diff