about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-08coverage: Simplify the heuristic for ignoring `async fn` return spansZalathar-17/+4
2023-12-07coverage: Simplify code that pushes to `refined_spans`Zalathar-26/+14
2023-12-07coverage: Inline `push_refined_span`Zalathar-13/+9
2023-12-07coverage: Merge refined spans in a separate final passZalathar-13/+16
2023-12-05coverage: Be more strict about what counts as a "visible macro"Zalathar-12/+10
2023-12-05coverage: Clean up `maybe_push_macro_name_span`Zalathar-6/+10
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-11-12coverage: Avoid creating malformed macro name spansZalathar-0/+6
2023-10-21Rollup merge of #116974 - Zalathar:signature-spans, r=oli-obk,cjgillotMatthias Krüger-29/+4
2023-10-21coverage: Simplify the injection of coverage statementsZalathar-7/+2
2023-10-21coverage: Simplify initial creation of coverage spansZalathar-29/+4
2023-10-21coverage: Handle fn signature spans more consistently near `?`Zalathar-1/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-16debug Span::ctxt() call detectionArthur Lafrance-1/+1
2023-10-16coverage: Explain why we temporarily steal `pending_dups`Zalathar-6/+20
2023-10-16coverage: Inline `span_bcb_dominates`Zalathar-14/+11
2023-10-16coverage: Inline `prev_starts_after_next`Zalathar-10/+5
2023-10-16coverage: Move `take_curr` and note what its callers are doingZalathar-9/+9