You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: compiler/rustc_codegen_llvm/src/coverageinfo/ffi.rs
+4-3
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ pub mod mcdc {
118
118
#[derive(Clone,Copy,Debug,Default)]
119
119
pubstructDecisionParameters{
120
120
bitmap_idx:u32,
121
-
conditions_num:u16,
121
+
num_conditions:u16,
122
122
}
123
123
124
124
// ConditionId in llvm is `unsigned int` at 18 while `int16_t` at [19](https://github.com/llvm/llvm-project/pull/81257)
.note = raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
98
98
.label = dereference of raw pointer
99
99
100
-
mir_build_exceeds_mcdc_condition_num_limit = Conditions number of the decision ({$conditions_num}) exceeds limit ({$max_conditions_num}). MCDC analysis will not count this expression.
100
+
mir_build_exceeds_mcdc_condition_limit = Number of conditions in decision ({$num_conditions}) exceeds limit ({$max_conditions}). MC/DC analysis will not count this expression.
101
101
102
102
mir_build_extern_static_requires_unsafe =
103
103
use of extern static is unsafe and requires unsafe block
Copy file name to clipboardexpand all lines: compiler/rustc_mir_build/src/build/coverageinfo/mcdc.rs
+13-13
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,12 @@ use rustc_middle::ty::TyCtxt;
10
10
use rustc_span::Span;
11
11
12
12
usecrate::build::Builder;
13
-
usecrate::errors::MCDCExceedsConditionNumLimit;
13
+
usecrate::errors::MCDCExceedsConditionLimit;
14
14
15
15
/// The MCDC bitmap scales exponentially (2^n) based on the number of conditions seen,
16
16
/// So llvm sets a maximum value prevents the bitmap footprint from growing too large without the user's knowledge.
17
17
/// This limit may be relaxed if the [upstream change](https://github.com/llvm/llvm-project/pull/82448) is merged.
0 commit comments