Skip to content

Commit

Permalink
Unrolled build for rust-lang#128477
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#128477 - Zalathar:bless-mcdc-19, r=cuviper

Finish blessing `coverage/mcdc` tests after LLVM 19 upgrade

Context: rust-lang#127513 (comment)

These changes aren't needed for Rust CI, because after the LLVM 19 upgrade we have no jobs that run these tests in `coverage-run` mode against LLVM 18. But they might help external builds.

The longer-term plan is to completely drop (unstable) MC/DC support on LLVM 18, as part of getting it working on LLVM 19 in rust-lang#126733.

cc `@cuviper`
  • Loading branch information
rust-timer committed Aug 1, 2024
2 parents 70591dc + 68df46c commit bbddd64
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/coverage/mcdc/condition-limit.coverage
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LL| |#![feature(coverage_attribute)]
LL| |//@ edition: 2021
LL| |//@ min-llvm-version: 18
LL| |//@ ignore-llvm-version: 19 - 99
LL| |//@ compile-flags: -Zcoverage-options=mcdc
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
LL| |
Expand Down
1 change: 1 addition & 0 deletions tests/coverage/mcdc/if.coverage
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LL| |#![feature(coverage_attribute)]
LL| |//@ edition: 2021
LL| |//@ min-llvm-version: 18
LL| |//@ ignore-llvm-version: 19 - 99
LL| |//@ compile-flags: -Zcoverage-options=mcdc
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
LL| |
Expand Down
1 change: 1 addition & 0 deletions tests/coverage/mcdc/inlined_expressions.coverage
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LL| |#![feature(coverage_attribute)]
LL| |//@ edition: 2021
LL| |//@ min-llvm-version: 18
LL| |//@ ignore-llvm-version: 19 - 99
LL| |//@ compile-flags: -Zcoverage-options=mcdc -Copt-level=z -Cllvm-args=--inline-threshold=0
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
LL| |
Expand Down
1 change: 1 addition & 0 deletions tests/coverage/mcdc/nested_if.coverage
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LL| |#![feature(coverage_attribute)]
LL| |//@ edition: 2021
LL| |//@ min-llvm-version: 18
LL| |//@ ignore-llvm-version: 19 - 99
LL| |//@ compile-flags: -Zcoverage-options=mcdc
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
LL| |
Expand Down
1 change: 1 addition & 0 deletions tests/coverage/mcdc/non_control_flow.coverage
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LL| |#![feature(coverage_attribute)]
LL| |//@ edition: 2021
LL| |//@ min-llvm-version: 18
LL| |//@ ignore-llvm-version: 19 - 99
LL| |//@ compile-flags: -Zcoverage-options=mcdc
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
LL| |
Expand Down

0 comments on commit bbddd64

Please sign in to comment.