about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
AgeCommit message (Expand)AuthorLines
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
2024-02-05coverage: Hoist special handling of async function spansZalathar-8/+20
2024-01-24coverage: Flatten the functions for extracting/refining coverage spansZalathar-73/+46
2024-01-11coverage: Add enums to accommodate other kinds of coverage mappingsZalathar-3/+14
2024-01-11coverage: Store extracted spans as a flat list of mappingsZalathar-17/+24
2024-01-05coverage: Make the remaining fields of `CoverageSpan` non-publicZalathar-4/+4
2024-01-05coverage: Split out `SpanFromMir` from `CoverageSpan`Zalathar-14/+4
2024-01-05coverage: Hoist the splitting of visible macro invocationsZalathar-34/+0
2024-01-05coverage: Hoist the removal of unwanted macro expansion spansZalathar-26/+3
2024-01-05coverage: Overhaul how "visible macros" are determinedZalathar-58/+7
2023-12-30coverage: Prepare mappings separately from injecting statementsZalathar-2/+7
2023-12-20coverage: Pass around `&ExtractedHirInfo` instead of individual fieldsZalathar-9/+6
2023-12-16coverage: Skip instrumenting a function if no spans were extractedZalathar-2/+10
2023-12-08coverage: Add `#[track_caller]` to the span generator's unwrap methodsZalathar-14/+12