rust/compiler/rustc_mir_transform/src/coverage
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
..
spans coverage: Remove enum CoverageStatement 2023-10-10 13:39:23 +11:00
test_macros inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
counters.rs coverage: Rename Operand to CovTerm 2023-10-18 21:23:58 +11:00
graph.rs coverage: Simplify adding BCB successors to the traversal worklists 2023-10-12 22:37:58 +11:00
mod.rs coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
query.rs coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
spans.rs debug Span::ctxt() call detection 2023-10-16 19:50:29 -07:00
tests.rs coverage: Store a graph reference in the graph traversal struct 2023-10-12 21:41:13 +11:00