| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-08-04 | coverage: Remove `-Zcoverage-options=no-mir-spans` | Zalathar | -202/+0 | |
| This flag turned out to be less useful than anticipated, and interferes with work towards expansion support. | ||||
| 2025-06-30 | Remove let_chains feature | Cameron Steffen | -4/+4 | |
| 2025-05-06 | coverage: Only merge adjacent coverage spans | Zalathar | -143/+236 | |
| This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans. | ||||
| 2025-05-06 | coverage-dump: Dump filenames instead of global file IDs (and bless) | Zalathar | -28/+28 | |
| 2025-04-01 | coverage: Don't split bang-macro spans, just truncate them | Zalathar | -40/+40 | |
| 2025-04-01 | coverage: Shrink call spans to just the function name | Zalathar | -22/+22 | |
| 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-01-16 | coverage: Completely overhaul counter assignment, using node-flow graphs | Zalathar | -390/+389 | |
| 2024-12-23 | Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, ↵ | Zalathar | -54/+72 | |
| r=wesleywiser" This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9. | ||||
| 2024-12-16 | Stabilize #[coverage] attribute | ltdk | -72/+54 | |
| 2024-12-07 | coverage: Prefer to visit nodes whose predecessors have been visited | Zalathar | -167/+154 | |
| 2024-12-04 | coverage: Add an extra "transcribe" step after counter creation | Zalathar | -177/+160 | |
| 2024-12-04 | coverage: Extract `subtracted_sum` in counter creation | Zalathar | -4/+6 | |
| 2024-11-08 | coverage: Restrict empty-span expansion to only cover `{` and `}` | Zalathar | -11/+11 | |
| 2024-10-11 | coverage: Include the highest counter ID seen in `.cov-map` dumps | Zalathar | -0/+28 | |
| 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-06-17 | coverage: Add debugging flag `-Zcoverage-options=no-mir-spans` | Zalathar | -0/+191 | |
| When set, this flag skips the code that normally extracts coverage spans from MIR statements and terminators. That sometimes makes it easier to debug branch coverage and MC/DC coverage, because the coverage output is less noisy. For internal debugging only. If other code changes would make it hard to keep supporting this flag, remove it. | ||||
| 2024-05-14 | coverage: Simplify counter expressions using simple algebra | Zalathar | -199/+114 | |
| 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-30 | coverage: Add branch coverage support for if-let and let-chains | Zalathar | -7/+25 | |
| 2024-04-30 | coverage: Add branch coverage support for let-else | Zalathar | -3/+9 | |
| 2024-04-22 | coverage: Branch coverage tests for match arms | Zalathar | -0/+401 | |
| 2024-04-22 | coverage: Branch coverage test for if-let and let-chains | Zalathar | -0/+161 | |
| 2024-04-22 | coverage: Branch coverage test for let-else | Zalathar | -0/+90 | |
| 2024-04-17 | coverage: Branch coverage tests for lazy boolean operators | Zalathar | -0/+370 | |
| 2024-04-17 | coverage: Move branch coverage tests into a subdirectory | Zalathar | -0/+863 | |
