about summary refs log tree commit diff
path: root/tests/coverage/inline.cov-map
AgeCommit message (Collapse)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-30/+81
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-7/+7
2025-04-01coverage: Don't split bang-macro spans, just truncate themZalathar-2/+2
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-19/+21
2024-12-07coverage: Prefer to visit nodes whose predecessors have been visitedZalathar-7/+7
2024-12-04coverage: Add an extra "transcribe" step after counter creationZalathar-8/+9
2024-10-11coverage: Include the highest counter ID seen in `.cov-map` dumpsZalathar-0/+7
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-14coverage: Simplify counter expressions using simple algebraZalathar-5/+3
Some of these cases currently don't occur in practice, but are included for completeness, and to avoid having to add them later as branch coverage and MC/DC coverage start building more complex expressions.
2023-12-03coverage: Skip spans that can't be un-expanded back to the function bodyZalathar-2/+2
When we extract coverage spans from MIR, we try to "un-expand" them back to spans that are inside the function's body span. In cases where that doesn't succeed, the current code just swaps in the entire body span instead. But that tends to result in coverage spans that are completely unrelated to the control flow of the affected code, so it's better to just discard those spans.
2023-11-07coverage: Migrate `tests/coverage-map` into `tests/coverage`Zalathar-0/+78