os-rust/tests/coverage-map/status-quo
Zalathar 6da319f635 coverage: Store all of a function's mappings in function coverage info
Previously, mappings were attached to individual coverage statements in MIR.
That necessitated special handling in MIR optimizations to avoid deleting those
statements, since otherwise codegen would be unable to reassemble the original
list of mappings.

With this change, a function's list of mappings is now attached to its MIR
body, and survives intact even if individual statements are deleted by
optimizations.
2023-10-18 23:42:39 +11:00
..
abort.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
abort.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
assert.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
assert.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
async.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
async.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
async2.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
async2.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
closure.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
closure.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
closure_bug.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
closure_bug.rs coverage: Regression test for inconsistent handling of closure spans 2023-09-18 22:33:05 +10:00
closure_macro.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
closure_macro.rs Fix up run-coverage and coverage-map/status-quo tests 2023-09-08 12:46:23 +01:00
closure_macro_async.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
closure_macro_async.rs Fix up run-coverage and coverage-map/status-quo tests 2023-09-08 12:46:23 +01:00
conditions.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
conditions.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
continue.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
continue.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
dead_code.cov-map coverage: Mappings for unused functions can all be zero 2023-10-03 13:03:39 +11:00
dead_code.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
drop_trait.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
drop_trait.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
generator.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
generator.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
generics.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
generics.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
if.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
if.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
if_else.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
if_else.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
inline-dead.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
inline-dead.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
inline.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
inline.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
inner_items.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
inner_items.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
issue-83601.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
issue-83601.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
issue-84561.cov-map coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
issue-84561.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
issue-93054.cov-map coverage: Mappings for unused functions can all be zero 2023-10-03 13:03:39 +11:00
issue-93054.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
lazy_boolean.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
lazy_boolean.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
loop_break_value.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
loop_break_value.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
loops_branches.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
loops_branches.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
match_or_pattern.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
match_or_pattern.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
nested_loops.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
nested_loops.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
no_cov_crate.cov-map coverage: Mappings for unused functions can all be zero 2023-10-03 13:03:39 +11:00
no_cov_crate.rs Fix up run-coverage and coverage-map/status-quo tests 2023-09-08 12:46:23 +01:00
overflow.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
overflow.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
panic_unwind.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
panic_unwind.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
partial_eq.cov-map coverage: Mappings for unused functions can all be zero 2023-10-03 13:03:39 +11:00
partial_eq.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
simple_loop.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
simple_loop.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
simple_match.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
simple_match.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
sort_groups.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
sort_groups.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
test_harness.cov-map coverage: Mappings for unused functions can all be zero 2023-10-03 13:03:39 +11:00
test_harness.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
tight_inf_loop.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
tight_inf_loop.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
try_error_result.cov-map coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
try_error_result.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
unused.cov-map coverage: Mappings for unused functions can all be zero 2023-10-03 13:03:39 +11:00
unused.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
while.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
while.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
while_early_ret.cov-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
while_early_ret.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
yield.cov-map coverage: Store each BCB's code regions in one coverage statement 2023-10-03 13:03:39 +11:00
yield.rs Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00