about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2025-09-05remove couple of clonesMatthias Krüger-1/+1
2025-08-24coverage: Build an "expansion tree" and use it to unexpand raw spansZalathar-141/+211
2025-08-22Uplift rustc_mir_transform::coverage::counters::union_find to rustc_data_stru...Camille Gillot-131/+1
2025-08-14coverage: Remove intermediate data structures from mapping creationZalathar-77/+31
2025-08-08coverage: Remove obsolete comment about hashing HIRZalathar-2/+5
2025-08-08coverage: Extract HIR-related helper code out of the main moduleZalathar-136/+139
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-365/+5
2025-08-04coverage: Push async special case down into `extract_refined_covspans`Zalathar-14/+16
2025-08-04coverage: Remove `-Zcoverage-options=no-mir-spans`Zalathar-5/+1
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-1/+2
2025-07-30coverage: Re-land "Enlarge empty spans during MIR instrumentation"Zalathar-2/+36
2025-07-29coverage: Treat `#[automatically_derived]` as `#[coverage(off)]`Zalathar-10/+9
2025-07-29coverage: Rename `CoverageStatus` to `CoverageAttrKind`Zalathar-13/+16
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-1/+1
2025-07-26Revert "coverage: Enlarge empty spans during MIR instrumentation, not codegen"Zalathar-36/+2
2025-07-22coverage: Enlarge empty spans during MIR instrumentation, not codegenZalathar-2/+36
2025-07-16Port `#[coverage]` to the new attribute systemSasha Pourcelot-19/+13
2025-06-29mir: Use the `new` method for `BasicBlockData`dianqk-5/+4
2025-06-29mir: Add a `new` method to `statement`dianqk-1/+1
2025-05-27coverage: Revert "unused local file IDs" due to empty function namesZalathar-36/+2
2025-05-10coverage: Enlarge empty spans during MIR instrumentation, not codegenZalathar-2/+36
2025-05-06coverage: Handle hole spans without dividing spans into bucketsZalathar-59/+33
2025-05-06coverage: Only merge adjacent coverage spansZalathar-34/+26
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-04-01coverage: Don't split bang-macro spans, just truncate themZalathar-32/+15
2025-04-01coverage: Instead of splitting, just discard any span that overlaps a holeZalathar-46/+16
2025-04-01coverage: Shrink call spans to just the function nameZalathar-11/+7
2025-03-21coverage: Defer the filtering of hole spansZalathar-15/+15
2025-03-21coverage: Separate span-extraction from unexpansionZalathar-75/+66
2025-03-18coverage: Don't store a body span in `FunctionCoverageInfo`Zalathar-1/+0
2025-02-24Auto merge of #135726 - jdonszelmann:attr-parsing, r=oli-obkbors-1/+1
2025-02-24Change span field accesses to method callsJana Dönszelmann-1/+1
2025-02-24Rollup merge of #136610 - Jarcho:range_idx, r=NoratriebJacob Pratt-2/+2
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-6/+3
2025-02-21Allow SliceIndex to be indexed by ranges.Jason Newcomb-2/+2
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-13coverage: Eliminate more counters by giving them to unreachable nodesZalathar-11/+16
2025-02-10Rollup merge of #136053 - Zalathar:defer-counters, r=saethlinJubilee-365/+116
2025-02-08Rustfmtbjorn3-28/+27
2025-02-06coverage: Remove the old code for simplifying counters after MIR optsZalathar-133/+6
2025-02-06coverage: Don't create counters for code that was removed by MIR optsZalathar-13/+19
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-214/+108
2025-02-06coverage: Store BCB node IDs in mappings, and resolve them in codegenZalathar-44/+22
2025-02-03Remove hook calling via `TyCtxtAt`.Nicholas Nethercote-3/+1
2025-01-26Incorporate `iter_nodes` into `graph::DirectedGraph`Zalathar-21/+0