about summary refs log tree commit diff
path: root/tests/coverage/async2.cov-map
AgeCommit message (Collapse)AuthorLines
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-10/+6
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-24Enable GVN by default.Camille GILLOT-8/+6
2023-12-15coverage: Use `Waker::noop` in async testsZalathar-84/+12
2023-12-03coverage: Skip spans that can't be un-expanded back to the function bodyZalathar-6/+6
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/+132