about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2023-12-09Rollup merge of #118666 - Zalathar:body-closure, r=cjgillotJubilee-31/+26
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/+14
2023-12-08coverage: Add `CoverageKind::SpanMarker` for including extra spans in MIRZalathar-3/+12
2023-12-08Rollup merge of #118695 - Zalathar:push-refined, r=davidtwcoMatthias Krüger-50/+37
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-07coverage: Avoid unnecessary macros in unit testsZalathar-70/+33
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-12-03coverage: Skip spans that can't be un-expanded back to the function bodyZalathar-5/+7
2023-11-25coverage: Assert that bcb0 starts with bb0 and has no in-edgesZalathar-0/+13
2023-11-25coverage: Eliminate `BcbBranch`Zalathar-104/+69
2023-11-25coverage: Extract `CoverageGraph::bcb_has_multiple_in_edges`Zalathar-9/+16
2023-11-25coverage: Simplify building coverage expressions based on sumsZalathar-71/+54
2023-11-25coverage: Use `BcbCounter` to build coverage expressionsZalathar-19/+16
2023-11-25coverage: Push down creation of a visited node's counterZalathar-6/+7
2023-11-25coverage: Push down and inline `bcb_needs_branch_counters`Zalathar-9/+10
2023-11-25coverage: Rename parameter `branching_bcb` to `from_bcb`Zalathar-9/+7
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-6/+6
2023-11-15Re-format code with new rustfmtMark Rousskov-2/+6
2023-11-12coverage: Avoid creating malformed macro name spansZalathar-0/+6
2023-10-31coverage: Replace impossible `coverage::Error` with assertionsZalathar-67/+33
2023-10-31coverage: Promote some debug-only checks to always runZalathar-12/+12
2023-10-30coverage: Use a tracing span to group the parts of a sum-up expressionZalathar-1/+4
2023-10-30coverage: Inline the "recursive" worker methods for assigning countersZalathar-21/+5
2023-10-30coverage: Replace manual debug indents with nested tracing spansZalathar-65/+19
2023-10-21Rollup merge of #116974 - Zalathar:signature-spans, r=oli-obk,cjgillotMatthias Krüger-57/+41
2023-10-21coverage: Simplify the injection of coverage statementsZalathar-143/+87
2023-10-21coverage: Simplify initial creation of coverage spansZalathar-45/+32
2023-10-21coverage: Don't create an intermediate vec for each BCB's initial spansZalathar-26/+23
2023-10-21coverage: Handle fn signature spans more consistently near `?`Zalathar-1/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-3/+3
2023-10-19Auto merge of #115214 - Urgau:rfc-3127-trim-paths, r=compiler-errorsbors-1/+4
2023-10-18coverage: Store expression data in function coverage infoZalathar-72/+19
2023-10-18coverage: Store all of a function's mappings in function coverage infoZalathar-41/+15
2023-10-18coverage: Rename `Operand` to `CovTerm`Zalathar-20/+20
2023-10-18coverage: Store the number of counters/expressions in function coverage infoZalathar-74/+25
2023-10-18coverage: Attach an optional `FunctionCoverageInfo` to `mir::Body`Zalathar-3/+5
2023-10-17[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopesUrgau-1/+4
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