rust/compiler/rustc_monomorphize/src
Dylan DPC 6e3dd69e36
Rollup merge of #98868 - tmiasko:unreachable-coverage, r=wesleywiser
Fix unreachable coverage generation for inlined functions

To generate a function coverage we need at least one coverage counter,
so a coverage from unreachable blocks is retained only when some live
counters remain.

The previous implementation incorrectly retained unreachable coverage,
because it didn't account for the fact that those live counters can
belong to another function due to inlining.

Fixes #98833.
2022-07-22 11:53:40 +05:30
..
partitioning Rollup merge of #98868 - tmiasko:unreachable-coverage, r=wesleywiser 2022-07-22 11:53:40 +05:30
collector.rs various nits from review 2022-07-20 17:12:08 -04:00
lib.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
polymorphize.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
util.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00