about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2024-04-04coverage: Remove useless constantsZalathar-1/+1
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-2/+5
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-31/+20
2024-03-20coverage: Tidy imports in `rustc_mir_transform::coverage::counters`Zalathar-4/+4
2024-03-20coverage: Remove incorrect assertions from counter allocationZalathar-31/+0
2024-03-18Deduplicate `associated_body` and `body_id`Oli Scherer-3/+1
2024-03-17some minor code simplificationsMatthias Krüger-3/+2
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-3/+68
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+5
2024-03-13coverage: Make `is_eligible_for_coverage` a hook methodZalathar-38/+41
2024-03-13Allow `rustc_mir_transform` to register hook providersZalathar-3/+3
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-7/+16
2024-02-23Rollup merge of #121492 - Zalathar:hole, r=fmeaseMatthias Krüger-65/+62
2024-02-23coverage: Rename `is_closure` to `is_hole`Zalathar-60/+59
2024-02-23coverage: Remove some lingering references to `pending_dups`Zalathar-6/+4
2024-02-23coverage: Use variable name `this` in `CoverageGraph::from_mir`Zalathar-7/+6
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-21coverage: Eagerly deduplicate covspans with the same spanZalathar-5/+10
2024-02-16coverage: Discard spans that fill the entire function bodyZalathar-4/+9
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-83/+139
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-11is_closure_likeMichael Goulet-2/+2
2024-02-07Rollup merge of #120564 - Zalathar:increment-site, r=oli-obkGuillaume Boisseau-80/+79
2024-02-06Teach typeck/borrowck/solvers how to deal with async closuresMichael Goulet-1/+3
2024-02-05coverage: Make `fn_sig_span` optional, and note its quirksZalathar-11/+17
2024-02-05coverage: Hoist special handling of async function spansZalathar-26/+30
2024-02-05coverage: Make unexpansion of closure bodies more preciseZalathar-18/+12
2024-02-02coverage: Split out counter increment sites from BCB node/edge countersZalathar-80/+79
2024-01-30hir: Add non-optional `hir_owner_nodes` for real `OwnerId`sVadim Petrochenkov-6/+1
2024-01-30hir: Simplify `hir_owner_nodes` queryVadim Petrochenkov-1/+1
2024-01-25Rollup merge of #120292 - Zalathar:dismantle, r=oli-obkMatthias Krüger-212/+178
2024-01-24Rollup merge of #120185 - Zalathar:auto-derived, r=wesleywiserLeón Orell Valerian Liehr-0/+11
2024-01-24Rollup merge of #119460 - Zalathar:improper-region, r=wesleywiserLeón Orell Valerian Liehr-1/+34
2024-01-24coverage: Flatten the functions for extracting/refining coverage spansZalathar-74/+53
2024-01-24coverage: Dismantle `Instrumentor` into ordinary functionsZalathar-139/+126
2024-01-22Use debug_assert instead of expanded equivalentWesley Wiser-4/+2
2024-01-22coverage: Don't instrument `#[automatically_derived]` functionsZalathar-0/+11
2024-01-14coverage: Simplify computing successors in the BCB graphZalathar-14/+7
2024-01-14coverage: Move helper `add_basic_coverage_block` into a local closureZalathar-22/+18
2024-01-14coverage: Simplify the loop that combines blocks into BCBsZalathar-57/+33
2024-01-14coverage: Indicate whether a block's successors allow BCB chainingZalathar-28/+62
2024-01-14coverage: Determine a block's successors from just the terminatorZalathar-14/+11
2024-01-11coverage: Add enums to accommodate other kinds of coverage mappingsZalathar-7/+20
2024-01-11coverage: Store extracted spans as a flat list of mappingsZalathar-27/+27
2024-01-11coverage: Extract helper function `term_for_bcb`Zalathar-4/+8
2024-01-10coverage: Discard code regions that might cause fatal errors in `llvm-cov`Zalathar-1/+36