diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-07-21 14:34:12 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-07-22 14:28:48 +0200 |
| commit | a27f3e3fd1e4d16160f8885b6b06665b5319f56c (patch) | |
| tree | b033935392cbadf6f85d2dbddf433a88e323aeeb /tests/codegen/instrument-coverage/instrument-coverage-off.rs | |
| parent | ed93c1783b404d728d4809973a0550eb33cd293f (diff) | |
| download | rust-a27f3e3fd1e4d16160f8885b6b06665b5319f56c.tar.gz rust-a27f3e3fd1e4d16160f8885b6b06665b5319f56c.zip | |
Rename `tests/codegen` into `tests/codegen-llvm`
Diffstat (limited to 'tests/codegen/instrument-coverage/instrument-coverage-off.rs')
| -rw-r--r-- | tests/codegen/instrument-coverage/instrument-coverage-off.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/codegen/instrument-coverage/instrument-coverage-off.rs b/tests/codegen/instrument-coverage/instrument-coverage-off.rs deleted file mode 100644 index e44d6c65874..00000000000 --- a/tests/codegen/instrument-coverage/instrument-coverage-off.rs +++ /dev/null @@ -1,21 +0,0 @@ -// Test that `-Cinstrument-coverage=off` does not add coverage instrumentation to LLVM IR. - -//@ compile-flags: -Zno-profiler-runtime -//@ revisions: n no off false_ zero -//@ [n] compile-flags: -Cinstrument-coverage=n -//@ [no] compile-flags: -Cinstrument-coverage=no -//@ [off] compile-flags: -Cinstrument-coverage=off -//@ [false_] compile-flags: -Cinstrument-coverage=false -//@ [zero] compile-flags: -Cinstrument-coverage=0 - -// CHECK-NOT: __llvm_profile_filename -// CHECK-NOT: __llvm_coverage_mapping - -#![crate_type = "lib"] - -#[inline(never)] -fn some_function() {} - -pub fn some_other_function() { - some_function(); -} |
