Uh oh!
There was an error while loading. Please reload this page.
coverage: Rename mir::coverage::BranchInfo to CoverageInfoHi - #127352
Conversation
rustbot
commented
Jul 5, 2024
r? @wesleywiser rustbot has assigned @wesleywiser. Use |
rustbot
commented
Jul 5, 2024
Some changes occurred in match lowering cc @Nadrieril Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
Zalathar
commented
Jul 5, 2024
Originally I was also planning to rename So the slightly-inconsistent names make it easier to get a mental foothold on which is which, especially since they are used in places that mostly don't overlap. |
This comment has been minimized.
This comment has been minimized.
This opens the door to collecting and storing coverage information that is unrelated to branch coverage or MC/DC.
oli-obk
commented
Jul 5, 2024
bors
commented
Jul 5, 2024
…llaumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#124290 (DependencyList: removed outdated comment) - rust-lang#126709 (Migrate `include_bytes_deps`, `optimization-remarks-dir-pgo`, `optimization-remarks-dir`, `issue-40535` and `rmeta-preferred` `run-make` tests to rmake) - rust-lang#127214 (Use the native unwind function in miri where possible) - rust-lang#127320 (Update windows-bindgen to 0.58.0) - rust-lang#127349 (Tweak `-1 as usize` suggestion) - rust-lang#127352 (coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`) - rust-lang#127359 (Improve run make llvm ident code) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127352 - Zalathar:coverage-info, r=oli-obk coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi` This opens the door to collecting and storing coverage information that is unrelated to branch coverage or MC/DC, during MIR building. There is no change to the output of coverage instrumentation, but one deliberate change is that functions now *always* have an attached `CoverageInfoHi` (if coverage is enabled and they are eligible), even if they didn't collect any interesting branch information. --- `@rustbot` label +A-code-coverage

This opens the door to collecting and storing coverage information that is unrelated to branch coverage or MC/DC, during MIR building.
There is no change to the output of coverage instrumentation, but one deliberate change is that functions now always have an attached
CoverageInfoHi(if coverage is enabled and they are eligible), even if they didn't collect any interesting branch information.@rustbot label +A-code-coverage