rust/compiler/rustc_mir_transform/src/coverage
Guillaume Boisseau d62fd21215
Rollup merge of #120564 - Zalathar:increment-site, r=oli-obk
coverage: Split out counter increment sites from BCB node/edge counters

This makes it possible for two nodes/edges in the coverage graph to share the same counter, without causing the instrumentor to inject unwanted duplicate counter-increment statements.

---

````@rustbot```` label +A-code-coverage
2024-02-07 18:24:43 +01:00
..
spans Teach typeck/borrowck/solvers how to deal with async closures 2024-02-06 02:22:58 +00:00
counters.rs coverage: Split out counter increment sites from BCB node/edge counters 2024-02-02 10:50:05 +11:00
graph.rs coverage: Simplify computing successors in the BCB graph 2024-01-14 12:11:26 +11:00
mod.rs Rollup merge of #120564 - Zalathar:increment-site, r=oli-obk 2024-02-07 18:24:43 +01:00
query.rs remove redundant imports 2023-12-10 10:56:22 +08:00
spans.rs coverage: Make fn_sig_span optional, and note its quirks 2024-02-05 10:09:50 +11:00
tests.rs coverage: Make coverage_counters a local variable 2023-12-30 22:36:11 +11:00