about summary refs log tree commit diff
path: root/tests/coverage/closure_macro_async.cov-map
AgeCommit message (Collapse)AuthorLines
2025-05-06coverage: Only merge adjacent coverage spansZalathar-17/+33
This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans.
2025-05-06coverage-dump: Dump filenames instead of global file IDs (and bless)Zalathar-4/+4
2025-04-01coverage: Don't split bang-macro spans, just truncate themZalathar-3/+3
2024-12-23Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, ↵Zalathar-8/+8
r=wesleywiser" This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
2024-12-16Stabilize #[coverage] attributeltdk-8/+8
2024-12-07coverage: Prefer to visit nodes whose predecessors have been visitedZalathar-6/+6
2024-12-05Stabilize noop_wakerEric Holk-8/+8
Co-authored-by: zachs18 <8355914+zachs18@users.noreply.github.com>
2024-12-04coverage: Add an extra "transcribe" step after counter creationZalathar-4/+4
2024-10-11coverage: Include the highest counter ID seen in `.cov-map` dumpsZalathar-0/+4
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-10-05fix GVN trying to transmute pointers to integersRalf Jung-4/+4
2024-09-10coverage: Extract `executor::block_on` from several async coverage testsZalathar-8/+8
By moving `block_on` to an auxiliary crate, we avoid having to keep a separate copy of it in every async test. (This also incorporates some small tweaks to the headers in `await_ready.rs`.)
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-2/+3
This makes it possible to treat more kinds of nested item/code as holes, instead of being restricted to closures.
2024-06-22Update coverage maps in testsScott McMurray-4/+4
2024-06-20I'd never even heard of a coverage mapScott McMurray-4/+4
2024-06-04coverage: Use hole spans to carve up coverage spans into separate bucketsZalathar-5/+3
This performs the same task as the hole-carving code in the main span refiner, but in a separate earlier pass.
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-5/+3
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-02-21coverage: Eagerly deduplicate covspans with the same spanZalathar-5/+4
2024-02-05coverage: Make unexpansion of closure bodies more preciseZalathar-4/+13
This improves the coverage instrumentation of closures declared in macros, as seen in `closure_macro.rs` and `closure_macro_async.rs`.
2024-01-18coverage: Format all remaining testsZalathar-8/+8
These tests can simply be reformatted as normal, because the resulting changes are unimportant.
2023-12-15coverage: Use `Waker::noop` in async testsZalathar-8/+8
2023-11-07coverage: Migrate `tests/coverage-map` into `tests/coverage`Zalathar-0/+44