summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-16coverage: Call `prev`/`curr` less in other placesZalathar-11/+17
2023-10-16coverage: Call `prev`/`curr` less in `to_refined_spans`Zalathar-22/+20
2023-10-16coverage: Remove redundant field `prev_expn_span`Zalathar-7/+2
2023-10-16coverage: Flatten guard logic in `maybe_flush_pending_dups`Zalathar-15/+16
2023-10-16coverage: Flatten guard logic in `maybe_push_macro_name_span`Zalathar-20/+17
2023-10-16coverage: Simplify `push_refined_span`Zalathar-12/+8
2023-10-16coverage: Use `DUMMY_SP` instead of creating a dummy span manuallyZalathar-4/+4
2023-10-16coverage: Rename `hold_pending_dups_unless_dominated` to `update_pending_dups`Zalathar-2/+2
2023-10-16coverage: Rename `check_pending_dups` to `maybe_flush_pending_dups`Zalathar-2/+2
2023-10-16coverage: Rename `check_invoked_macro_name_span` to `maybe_push_macro_name_span`Zalathar-5/+7
2023-10-13Format all the let chains in compilerMichael Goulet-6/+9
2023-10-10coverage: Remove enum `CoverageStatement`Zalathar-36/+15
2023-10-10coverage: Disconnect span extraction from `CoverageSpansGenerator`Zalathar-17/+12
2023-10-10coverage: Move initial MIR span extraction into a submoduleZalathar-185/+5
2023-10-03coverage: Store each BCB's code regions in one coverage statementZalathar-10/+16
2023-10-03coverage: Encapsulate coverage spansZalathar-7/+44
2023-09-27fix clippy::{redundant_guards, useless_format}Matthias Krüger-1/+1
2023-09-20coverage: Remove debug code from the instrumentorZalathar-49/+0
2023-09-18coverage: Simplify sorting of coverage spans extracted from MIRZalathar-27/+14
2023-09-18coverage: Fix an unstable-sort inconsistency in coverage spansZalathar-1/+4
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-1/+1
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-2/+2
2023-07-28Replace a lazy `RefCell<Option<T>>` with `OnceCell<T>`Zalathar-4/+3
2023-06-27Simplify some conditionsMaybe Waffle-3/+4
2023-05-24Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiaskobors-1/+1
2023-05-17Drive-by cleanup: `debug::term_type` => `TerminatorKind::name`Maybe Waffle-2/+1
2023-05-17Preprocess dominator tree to answer queries in O(1)Tomasz Miąsko-1/+1
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-1/+1
2023-03-09Introduce a no-op PlaceMention statement for `let _ =`.Camille GILLOT-0/+1