mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
e6b9bb7b72
This adds the `only-apple`/`ignore-apple` compiletest directive, and uses that basically everywhere instead of `only-macos`/`ignore-macos`. Some of the updates in `run-make` are a bit redundant, as they use `ignore-cross-compile` and won't run on iOS - but using Apple in these is still more correct, so I've made that change anyhow.
11 lines
353 B
Rust
11 lines
353 B
Rust
// Test that __llvm_profile_counter_bias does not get internalized by lto.
|
|
|
|
//@ ignore-apple -runtime-counter-relocation not honored on Mach-O
|
|
//@ compile-flags: -Cprofile-generate -Cllvm-args=-runtime-counter-relocation -Clto=fat
|
|
//@ needs-profiler-support
|
|
//@ no-prefer-dynamic
|
|
|
|
// CHECK: @__llvm_profile_counter_bias = {{.*}}global
|
|
|
|
pub fn main() {}
|