about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
AgeCommit message (Expand)AuthorLines
2024-09-10Improve comment formatting.Nicholas Nethercote-1/+2
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-2/+2
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-2/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-08-28coverage: Rename `CodeRegion` to `SourceRegion`Zalathar-20/+20
2024-08-28coverage: Simplify some debug loggingZalathar-7/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-07-15coverage: Restrict `ExpressionUsed` simplification to `Code` mappingsZalathar-4/+9
2024-07-15coverage: Store a copy of `num_bcbs` in `ExtractedMappings`Zalathar-2/+2
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-3/+77
2024-06-30coverage: Move span unexpansion into its own submoduleZalathar-0/+1
2024-06-17coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`Zalathar-2/+6
2024-05-30coverage: Rename MC/DC `conditions_num` to `num_conditions`Zalathar-3/+3
2024-05-06coverage: Tidy imports in `rustc_mir_transform::coverage`Zalathar-7/+8
2024-05-06coverage: Rename `CoverageSpans` to `ExtractedMappings`Zalathar-15/+15
2024-05-06coverage: Destructure the mappings struct to make sure we don't miss anyZalathar-4/+13
2024-05-06coverage: Don't recompute the number of test vector bitmap bytesZalathar-5/+1
2024-05-06coverage: Separately compute the set of BCBs with counter mappingsZalathar-9/+12
2024-05-04coverage: Rename `BcbBranchPair` to `mappings::BranchPair`Zalathar-2/+2
2024-05-04coverage: Flatten `BcbMappingKind` into `mappings::CodeMapping`Zalathar-6/+4
2024-05-04coverage: Extract helper `region_for_span`Zalathar-4/+5
2024-05-04coverage: Split out MC/DC branches from `BcbMappingKind`Zalathar-28/+23
2024-05-04coverage: Split out MC/DC decisions from `BcbMappingKind`Zalathar-15/+17
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-3/+3
2024-04-30coverage: Split off `mappings.rs` from `spans.rs` and `from_mir.rs`Zalathar-2/+3
2024-04-30coverage: Prepare to split `spans.rs` into two filesZalathar-1/+0
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-0/+11
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-15/+20
2024-04-22coverage: Separate branch pairs from other mapping kindsZalathar-8/+14
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-4/+12
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-7/+72
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-2/+5
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-5/+2
2024-03-18Deduplicate `associated_body` and `body_id`Oli Scherer-3/+1
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-0/+4
2024-03-13coverage: Make `is_eligible_for_coverage` a hook methodZalathar-33/+1
2024-02-07Rollup merge of #120564 - Zalathar:increment-site, r=oli-obkGuillaume Boisseau-49/+40
2024-02-05coverage: Make `fn_sig_span` optional, and note its quirksZalathar-8/+9
2024-02-05coverage: Make unexpansion of closure bodies more preciseZalathar-18/+12
2024-02-02coverage: Split out counter increment sites from BCB node/edge countersZalathar-49/+40
2024-01-30hir: Add non-optional `hir_owner_nodes` for real `OwnerId`sVadim Petrochenkov-6/+1
2024-01-30hir: Simplify `hir_owner_nodes` queryVadim Petrochenkov-1/+1
2024-01-25Rollup merge of #120292 - Zalathar:dismantle, r=oli-obkMatthias Krüger-139/+126
2024-01-24Rollup merge of #120185 - Zalathar:auto-derived, r=wesleywiserLeón Orell Valerian Liehr-0/+11
2024-01-24Rollup merge of #119460 - Zalathar:improper-region, r=wesleywiserLeón Orell Valerian Liehr-1/+34
2024-01-24coverage: Flatten the functions for extracting/refining coverage spansZalathar-1/+1
2024-01-24coverage: Dismantle `Instrumentor` into ordinary functionsZalathar-139/+126
2024-01-22Use debug_assert instead of expanded equivalentWesley Wiser-4/+2
2024-01-22coverage: Don't instrument `#[automatically_derived]` functionsZalathar-0/+11
2024-01-11coverage: Add enums to accommodate other kinds of coverage mappingsZalathar-4/+6