summary refs log tree commit diff
path: root/tests/mir-opt/coverage/instrument_coverage_cleanup.main.InstrumentCoverage.diff
AgeCommit message (Collapse)AuthorLines
2024-12-19coverage: Store coverage source regions as `Span` until codegenZalathar-5/+5
2024-11-29Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu"Zalathar-5/+5
This reverts commit adf9b5fcd1de43eaf0a779e10612caee8b47bede, reversing changes made to af1ca153d4aed5ffe22445273aa388a8d3f8f4ae. Reverting due to <https://github.com/rust-lang/rust/issues/133606>.
2024-11-24coverage: Store coverage source regions as `Span` until codegenZalathar-5/+5
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-1/+1
2024-11-08coverage: Remove unhelpful code for handling multiple files per functionZalathar-5/+6
Functions currently can't have mappings in multiple files, and if that ever changes (e.g. to properly support expansion regions), this code will need to be completely overhauled anyway.
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-3/+1
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-04-22coverage: Move mir-opt coverage tests into a subdirectoryZalathar-0/+53