1
Fork 0
rust/compiler/rustc_middle/src
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
..
dep_graph Move DepKind to rustc_query_system and define it as u16 2023-09-21 17:06:14 +02:00
hir Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
hooks add some docs to hooks/mod.rs 2023-09-30 22:33:22 +02:00
infer Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
middle Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
mir coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
query coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
thir Propagate pattern errors via a new PatKind::Error variant 2023-10-14 13:38:02 +02:00
traits Check types live across yields in generators too 2023-09-23 04:19:14 +00:00
ty Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
util Merge ExternProviders into the general Providers struct 2023-09-22 20:15:34 +00:00
arena.rs Implement Deref<LayoutS> for Layout 2023-10-02 21:31:16 +02:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
lint.rs give FutureIncompatibilityReason variants more explicit names 2023-09-22 08:51:18 +02:00
macros.rs Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs
thir.rs Propagate pattern errors via a new PatKind::Error variant 2023-10-14 13:38:02 +02:00
values.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00