about summary refs log tree commit diff
path: root/tests/coverage/unicode.cov-map
AgeCommit message (Collapse)AuthorLines
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-6/+7
2024-12-07coverage: Prefer to visit nodes whose predecessors have been visitedZalathar-10/+5
2024-12-04coverage: Add an extra "transcribe" step after counter creationZalathar-12/+12
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-2/+2
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-14coverage: Simplify counter expressions using simple algebraZalathar-16/+12
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.
2024-02-16coverage: Discard spans that fill the entire function bodyZalathar-8/+0
When we try to extract coverage-relevant spans from MIR, sometimes we see MIR statements/terminators whose spans cover the entire function body. Those spans tend to be unhelpful for coverage purposes, because they often represent compiler-inserted code, e.g. the implicit return value of `()`.
2024-01-08coverage: `llvm-cov` expects column numbers to be bytes, not code pointsZalathar-11/+11
2024-01-08coverage: Test for column numbers involving non-ASCII charactersZalathar-0/+53