-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coverage: Rename mir::coverage::BranchInfo
to CoverageInfoHi
#127352
Conversation
r? @wesleywiser rustbot has assigned @wesleywiser. Use |
Some changes occurred in match lowering cc @Nadrieril Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
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.
…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