about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans
AgeCommit message (Expand)AuthorLines
2025-08-24coverage: Build an "expansion tree" and use it to unexpand raw spansZalathar-32/+2
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-5/+1
2025-04-01coverage: Shrink call spans to just the function nameZalathar-11/+7
2025-03-21coverage: Separate span-extraction from unexpansionZalathar-70/+35
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-2/+1
2024-12-20coverage: Rename `basic_coverage_blocks` to just `graph`Zalathar-2/+2
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-06coverage: Treat await similar to a macroJonathan Conder-11/+11
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-35/+6
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-1/+2
2024-06-30coverage: Move span unexpansion into its own submoduleZalathar-54/+2
2024-06-16coverage: Eagerly convert coverage spans to a simpler formZalathar-14/+4
2024-06-16coverage: Move most span processing back into `coverage::spans`Zalathar-151/+17
2024-06-16coverage: More consistent variable names for span processingZalathar-21/+21
2024-06-04coverage: Use hole spans to carve up coverage spans into separate bucketsZalathar-54/+145
2024-06-04coverage: Build up initial spans by appending to a vectorZalathar-18/+21
2024-06-04coverage: Return a nested vector from initial span extractionZalathar-2/+2
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-30coverage: Split off `mappings.rs` from `spans.rs` and `from_mir.rs`Zalathar-144/+2
2024-04-30coverage: Prepare to split `spans.rs` into two filesZalathar-1/+1
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-8/+19
2024-04-22coverage: Separate branch pairs from other mapping kindsZalathar-5/+5
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-18/+56
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-10/+59
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-20/+14
2024-03-17some minor code simplificationsMatthias Krüger-3/+2
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-3/+52
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+5
2024-02-23coverage: Rename `is_closure` to `is_hole`Zalathar-11/+16
2024-02-21coverage: Eagerly deduplicate covspans with the same spanZalathar-5/+10
2024-02-16coverage: Discard spans that fill the entire function bodyZalathar-4/+9
2024-02-13coverage: Split `CoverageSpan` into several distinct structsZalathar-15/+9
2024-02-11is_closure_likeMichael Goulet-2/+2
2024-02-06Teach typeck/borrowck/solvers how to deal with async closuresMichael Goulet-1/+3
2024-02-05coverage: Make `fn_sig_span` optional, and note its quirksZalathar-1/+5
2024-02-05coverage: Hoist special handling of async function spansZalathar-18/+10
2024-01-24coverage: Flatten the functions for extracting/refining coverage spansZalathar-0/+6
2024-01-05coverage: Split out `SpanFromMir` from `CoverageSpan`Zalathar-10/+47
2024-01-05coverage: Hoist the splitting of visible macro invocationsZalathar-0/+36
2024-01-05coverage: Hoist the removal of unwanted macro expansion spansZalathar-0/+24
2024-01-05coverage: Overhaul how "visible macros" are determinedZalathar-8/+51
2024-01-05coverage: Avoid early returns from `mir_to_initial_sorted_coverage_spans`Zalathar-15/+14
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-2/+2
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-1/+1
2023-12-27coverage: Unexpand spans with `find_ancestor_inside_same_ctxt`Zalathar-6/+1
2023-12-20coverage: Check for `async fn` explicitly, without needing a heuristicZalathar-11/+8
2023-12-20coverage: Pass around `&ExtractedHirInfo` instead of individual fieldsZalathar-2/+4
2023-12-09Rollup merge of #118666 - Zalathar:body-closure, r=cjgillotJubilee-0/+10
2023-12-08coverage: Simplify the heuristic for ignoring `async fn` return spansZalathar-0/+10