about summary refs log tree commit diff
path: root/tests/coverage/yield.cov-map
AgeCommit message (Collapse)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-16/+29
This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans.
2025-05-06coverage-dump: Dump filenames instead of global file IDs (and bless)Zalathar-3/+3
2025-04-01coverage: Don't split bang-macro spans, just truncate themZalathar-5/+5
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-25/+25
2024-12-07coverage: Prefer to visit nodes whose predecessors have been visitedZalathar-22/+13
2024-12-04coverage: Add an extra "transcribe" step after counter creationZalathar-12/+12
2024-10-11coverage: Include the highest counter ID seen in `.cov-map` dumpsZalathar-0/+3
When making changes that have a large impact on coverage counter creation, this makes it easier to see whether the number of physical counters has changed. (The highest counter ID seen in coverage maps is not necessarily the same as the number of physical counters actually used by the instrumented code, but it's the best approximation we can get from looking only at the coverage maps, and it should be reasonably accurate in most cases.)
2024-05-29Manually run `x fmt` on all source files in `tests/coverage/`Zalathar-7/+7
Currently we can't automatically enforce formatting on tests (see #125637), but we can at least keep things relatively tidy by occasionally running the formatter manually. This was done by temporarily commenting out the `"/tests/"` exclusion in `rustfmt.toml`, and then running `x fmt tests/coverage` and `x test coverage --bless`.
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-4/+4
And suggest adding the `#[coroutine]` to the closure
2024-02-09Enable by default.Camille GILLOT-3/+3
2023-11-07coverage: Migrate `tests/coverage-map` into `tests/coverage`Zalathar-0/+62