about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
AgeCommit message (Expand)AuthorLines
2025-08-04coverage: Push async special case down into `extract_refined_covspans`Zalathar-1/+13
2025-07-30coverage: Re-land "Enlarge empty spans during MIR instrumentation"Zalathar-2/+36
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-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-12/+14
2025-04-01coverage: Don't split bang-macro spans, just truncate themZalathar-31/+14
2025-04-01coverage: Instead of splitting, just discard any span that overlaps a holeZalathar-46/+16
2025-03-21coverage: Defer the filtering of hole spansZalathar-1/+8
2025-03-21coverage: Separate span-extraction from unexpansionZalathar-5/+31
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-2/+1
2024-12-20coverage: Rename `basic_coverage_blocks` to just `graph`Zalathar-5/+4
2024-10-23fix a couple clippy:complexitysMatthias Krüger-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-06coverage: Treat await similar to a macroJonathan Conder-13/+21
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-3/+4
2024-06-30coverage: Move span unexpansion into its own submoduleZalathar-5/+0
2024-06-16coverage: Split span refinement into two separate stepsZalathar-10/+12
2024-06-16coverage: Split out a function for dividing coverage spans into bucketsZalathar-34/+52
2024-06-16coverage: Eagerly convert coverage spans to a simpler formZalathar-35/+51
2024-06-16coverage: Move most span processing back into `coverage::spans`Zalathar-4/+140
2024-06-16coverage: More consistent variable names for span processingZalathar-4/+4
2024-06-12coverage: Replace the old span refiner with a single functionZalathar-203/+36
2024-06-04coverage: Remove hole-carving code from the main span refinerZalathar-80/+19
2024-06-04coverage: Use hole spans to carve up coverage spans into separate bucketsZalathar-1/+1
2024-06-04coverage: Return a nested vector from initial span extractionZalathar-6/+9
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-05-04coverage: Flatten `BcbMappingKind` into `mappings::CodeMapping`Zalathar-4/+4
2024-04-30coverage: Split off `mappings.rs` from `spans.rs` and `from_mir.rs`Zalathar-129/+3
2024-04-30coverage: Prepare to split `spans.rs` into two filesZalathar-24/+29
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-1/+7
2024-04-22coverage: Separate branch pairs from other mapping kindsZalathar-12/+25
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-1/+9
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-5/+29
2024-04-14Merge `WithNumNodes` into DirectedGraphMaybe Waffle-1/+1
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-0/+12
2024-02-23coverage: Rename `is_closure` to `is_hole`Zalathar-49/+43
2024-02-23coverage: Remove some lingering references to `pending_dups`Zalathar-6/+4
2024-02-21coverage: Simplify (non-closure) covspans truncating each otherZalathar-7/+7
2024-02-21coverage: Remove `pending_dups` from the span refinerZalathar-164/+16
2024-02-13coverage: Simplify code for adding `prev` to pending dupsZalathar-40/+12
2024-02-13coverage: Move `prev_original_span` into `PrevCovspan`Zalathar-19/+11
2024-02-13coverage: Split `CoverageSpan` into several distinct structsZalathar-68/+130
2024-02-13coverage: Don't track `curr_original_span` explicitlyZalathar-11/+2
2024-02-13coverage: When merging spans, keep `prev` and merge `curr` into itZalathar-9/+3
2024-02-05coverage: Make `fn_sig_span` optional, and note its quirksZalathar-2/+3