about summary refs log tree commit diff
path: root/tests/coverage/lazy_boolean.cov-map
AgeCommit message (Collapse)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-5/+13
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-1/+1
2024-12-04coverage: Add an extra "transcribe" step after counter creationZalathar-20/+20
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-4/+4
2024-10-11coverage: Include the highest counter ID seen in `.cov-map` dumpsZalathar-0/+1
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-203/+33
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-01-16coverage: Add `#[rustfmt::skip]` to tests with non-standard formattingZalathar-2/+2
These tests deliberately use non-standard formatting, so that the line execution counts reported by `llvm-cov` reveal additional information about where code regions begin and end.
2023-12-08coverage: Use `SpanMarker` to mark the full condition of `if !`Zalathar-4/+4
When MIR is built for an if-not expression, the `!` part of the condition doesn't correspond to any MIR statement, so coverage instrumentation normally can't see it. We can fix that by deliberately injecting a dummy statement whose sole purpose is to associate that span with its enclosing block.
2023-11-07coverage: Migrate `tests/coverage-map` into `tests/coverage`Zalathar-0/+219