about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
AgeCommit message (Expand)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-21/+11
2025-04-26Auto merge of #140288 - Zalathar:new-executor, r=jieyouxubors-1/+1
2025-04-25Trivial compiler change to inhibit download-rustc in CIZalathar-1/+1
2025-04-24Trivial compiler change to inhibit download-rustc in CIZalathar-2/+1
2025-03-21coverage: Defer the filtering of hole spansZalathar-14/+7
2025-03-18coverage: Don't store a body span in `FunctionCoverageInfo`Zalathar-1/+0
2025-02-19coverage: Make `HolesVisitor::visit_hole_span` a regular methodZalathar-18/+18
2025-02-19coverage: Get hole spans from nested items without fully visiting themZalathar-8/+9
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-5/+4
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-55/+15
2025-02-06coverage: Store BCB node IDs in mappings, and resolve them in codegenZalathar-29/+17
2025-01-25Auto merge of #128657 - clubby789:optimize-none, r=fee1-dead,WaffleLapkinbors-0/+4
2025-01-24coverage: Remove some dead code from MC/DC branch mapping conversionZalathar-19/+13
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+4
2025-01-18coverage: Flatten top-level counter creation into plain functionsZalathar-2/+1
2025-01-18coverage: Remove the `Site` enum now that we only instrument nodesZalathar-9/+3
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-42/+1
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