about summary refs log tree commit diff
path: root/tests/coverage/macro_name_span.coverage
AgeCommit message (Collapse)AuthorLines
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2024-02-16coverage: Discard spans that fill the entire function bodyZalathar-1/+1
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-04macro_rules: Less hacky heuristic for using `tt` metavariable spansVadim Petrochenkov-16/+3
2023-11-13coverage: Regression test for #117788Zalathar-0/+39
Without the workaround applied, this test will produce malformed mappings that cause `llvm-cov` to fail. (And if it does emit well-formed mappings, they should be obviously incorrect.)