]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/pgo-counter-bias.rs
Auto merge of #105285 - compiler-errors:conflicting-param-env-2, r=estebank
[rust.git] / src / test / codegen / pgo-counter-bias.rs
1 // Test that __llvm_profile_counter_bias does not get internalized by lto.
2
3 // ignore-macos -runtime-counter-relocation not honored on Mach-O
4 // compile-flags: -Cprofile-generate -Cllvm-args=-runtime-counter-relocation -Clto=fat
5 // needs-profiler-support
6 // no-prefer-dynamic
7
8 // CHECK: @__llvm_profile_counter_bias = {{.*}}global
9
10 pub fn main() {}