diff options
| author | bors <bors@rust-lang.org> | 2023-10-28 17:43:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-28 17:43:07 +0000 |
| commit | 6b78377245eae0b023fff31d15f2f8d183cfc326 (patch) | |
| tree | cdc111b5604d1771b94d1f0a2cf3ee530ba55cf4 /library/std/src/sys/unix/alloc.rs | |
| parent | 6a66ca215bfda3ce9c81725c7f97eeb7fcdf8c48 (diff) | |
| parent | 230dd5b8c71c1d176a6705bb458a473411788f68 (diff) | |
| download | rust-6b78377245eae0b023fff31d15f2f8d183cfc326.tar.gz rust-6b78377245eae0b023fff31d15f2f8d183cfc326.zip | |
Auto merge of #117123 - Zalathar:bad-counter-ids, r=petrochenkov
coverage: Consistently remove unused counter IDs from expressions/mappings If some coverage counters were removed by MIR optimizations, we need to take care not to refer to those counter IDs in coverage mappings, and instead replace them with a constant zero value. If we don't, `llvm-cov` might see a too-large counter ID and silently discard the entire function from its coverage reports. Fixes #117012.
Diffstat (limited to 'library/std/src/sys/unix/alloc.rs')
0 files changed, 0 insertions, 0 deletions
