Rework no_coverage to coverage(off)

This commit is contained in:
Andy Caldwell
2023-08-09 15:57:16 +01:00
parent de4cba3a98
commit 8e03371fc3
27 changed files with 183 additions and 158 deletions

View File

@@ -87,7 +87,7 @@ bitflags! {
/// #[cmse_nonsecure_entry]: with a TrustZone-M extension, declare a
/// function as an entry function from Non-Secure code.
const CMSE_NONSECURE_ENTRY = 1 << 14;
/// `#[no_coverage]`: indicates that the function should be ignored by
/// `#[coverage(off)]`: indicates that the function should be ignored by
/// the MIR `InstrumentCoverage` pass and not added to the coverage map
/// during codegen.
const NO_COVERAGE = 1 << 15;