rust/compiler/rustc_mir_transform/src/coverage
Zalathar e29db47176 coverage: Encapsulate coverage spans
By encapsulating the coverage spans in a struct, we can change the internal
representation without disturbing existing call sites. This will be useful for
grouping coverage spans by BCB.

This patch includes some changes that were originally in #115912, which avoid
the need for a particular test to deal with coverage spans at all.

(Comments/logs referring to `CoverageSpan` are updated in a subsequent patch.)
2023-10-03 13:03:39 +11:00
..
test_macros inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
counters.rs coverage: Encapsulate coverage spans 2023-10-03 13:03:39 +11:00
graph.rs coverage: Remove debug code from the instrumentor 2023-09-20 17:24:10 +10:00
mod.rs coverage: Encapsulate coverage spans 2023-10-03 13:03:39 +11:00
query.rs coverage: In the visitor, track max counter/expression IDs without +1 2023-09-07 18:06:13 +10:00
spans.rs coverage: Encapsulate coverage spans 2023-10-03 13:03:39 +11:00
tests.rs coverage: Encapsulate coverage spans 2023-10-03 13:03:39 +11:00