about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
AgeCommit message (Expand)AuthorLines
2024-12-20coverage: Rename `basic_coverage_blocks` to just `graph`Zalathar-23/+17
2024-12-19coverage: Store coverage source regions as `Span` until codegenZalathar-150/+18
2024-12-04coverage: Rename `CounterIncrementSite` to just `Site`Zalathar-5/+5
2024-11-29Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu"Zalathar-18/+148
2024-11-24coverage: Store coverage source regions as `Span` until codegenZalathar-148/+18
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-28/+42
2024-11-08coverage: Remove unhelpful code for handling multiple files per functionZalathar-21/+7
2024-11-08coverage: Pass `ExtractedHirInfo` to `make_source_region`Zalathar-4/+4
2024-10-18Dont ICE when computing coverage of synthetic async closure bodyMichael Goulet-0/+5
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-52/+102
2024-10-06coverage: Store `bcb_needs_counter` in a field as a bitsetZalathar-2/+1
2024-10-06coverage: Make `BcbCounter` module-privateZalathar-6/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
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