| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-30 | coverage: Re-land "Enlarge empty spans during MIR instrumentation" | Zalathar | -8/+8 | |
| This allows us to assume that coverage spans will only be discarded during codegen in very unusual situations. | ||||
| 2025-07-26 | Revert "coverage: Enlarge empty spans during MIR instrumentation, not codegen" | Zalathar | -8/+8 | |
| This reverts commit f877aa7d14916f71a2f88c6d4c009e7ded7684c4. | ||||
| 2025-07-22 | coverage: Enlarge empty spans during MIR instrumentation, not codegen | Zalathar | -8/+8 | |
| This allows us to assume that coverage spans will only be discarded during codegen in very unusual situations. | ||||
| 2025-05-27 | coverage: Revert "unused local file IDs" due to empty function names | Zalathar | -8/+8 | |
| This reverts commit 3b22c21dd8c30f499051fe7a758ca0e5d81eb638, reversing changes made to 5f292eea6d63abbd26f1e6e00a0b8cf21d828d7d. | ||||
| 2025-05-10 | coverage: Enlarge empty spans during MIR instrumentation, not codegen | Zalathar | -8/+8 | |
| This allows us to assume that coverage spans will only be discarded during codegen in very unusual situations. | ||||
| 2025-05-06 | coverage: Only merge adjacent coverage spans | Zalathar | -9/+22 | |
| This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans. | ||||
| 2025-04-01 | coverage: Shrink call spans to just the function name | Zalathar | -5/+5 | |
| This is a way to shrink call spans that doesn't involve mixing different spans, and avoids overlap with argument spans. This patch also removes some low-value comments that were causing rustfmt to ignore the match arms. | ||||
| 2025-03-18 | coverage: Don't store a body span in `FunctionCoverageInfo` | Zalathar | -13/+6 | |
| 2025-02-06 | coverage: Defer part of counter-creation until codegen | Zalathar | -25/+23 | |
| 2025-02-06 | coverage: Store BCB node IDs in mappings, and resolve them in codegen | Zalathar | -24/+24 | |
| Even though the coverage graph itself is no longer available during codegen, its nodes can still be used as opaque IDs. | ||||
| 2025-01-24 | coverage: Tweak FileCheck directives in a mir-opt test | Zalathar | -16/+19 | |
| 2025-01-16 | coverage: Completely overhaul counter assignment, using node-flow graphs | Zalathar | -5/+5 | |
| 2024-12-23 | Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, ↵ | Zalathar | -7/+8 | |
| r=wesleywiser" This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9. | ||||
| 2024-12-19 | coverage: Store coverage source regions as `Span` until codegen | Zalathar | -22/+22 | |
| 2024-12-16 | Stabilize #[coverage] attribute | ltdk | -8/+7 | |
| 2024-12-04 | coverage: Add an extra "transcribe" step after counter creation | Zalathar | -9/+5 | |
| 2024-11-29 | Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu" | Zalathar | -22/+22 | |
| This reverts commit adf9b5fcd1de43eaf0a779e10612caee8b47bede, reversing changes made to af1ca153d4aed5ffe22445273aa388a8d3f8f4ae. Reverting due to <https://github.com/rust-lang/rust/issues/133606>. | ||||
| 2024-11-24 | coverage: Store coverage source regions as `Span` until codegen | Zalathar | -22/+22 | |
| 2024-11-08 | coverage: Restrict empty-span expansion to only cover `{` and `}` | Zalathar | -3/+3 | |
| 2024-11-08 | coverage: Remove unhelpful code for handling multiple files per function | Zalathar | -22/+27 | |
| 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-08-18 | Bless *all* the mir-opt tests | Scott McMurray | -8/+8 | |
| 2024-07-29 | Set up false edges in `lower_match_tree` | Nadrieril | -22/+22 | |
| 2024-06-12 | coverage: Replace the old span refiner with a single function | Zalathar | -1/+1 | |
| As more and more of the span refiner's functionality has been pulled out into separate early passes, it has finally reached the point where we can remove the rest of the old `SpansRefiner` code, and replace it with a single modestly-sized function. | ||||
| 2024-05-14 | coverage: Simplify counter expressions using simple algebra | Zalathar | -10/+4 | |
| 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-22 | coverage: Add a mir-opt test for branch coverage of match arms | Zalathar | -0/+165 | |
| 2024-04-22 | coverage: Move mir-opt coverage tests into a subdirectory | Zalathar | -0/+228 | |
