Rollup of 3 pull requests - #162005
Closed
JonathanBrouwer wants to merge 6 commits into
Closed
Conversation
- CoverageInfoHi => CoverageEarlyInfo - FunctionCoverageInfo => CoverageMirInfo - CoverageIdsInfo => CoverageCodegenInfo
coverage: Rename the three main coverage-info structs This PR renames the three main structures used to carry per-function coverage info through different stages of compilation: ```text - CoverageInfoHi => CoverageEarlyInfo // collected early, at the THIR/MIR boundary during MIR building - FunctionCoverageInfo => CoverageMirInfo // collected during the main MIR instrumentation pass - CoverageIdsInfo => CoverageCodegenInfo // collected during codegen, after MIR opts ``` The new names should hopefully help to keep the three structs distinct, while also avoiding the historical inconsistency of the previous names. The renaming also resolves an old TODO of mine about `coverage_ids_info` no longer making sense as a name. There should be no change to compiler behaviour.
Rerun `tests/debuginfo` tests if repr data has changed Resolves rust-lang#161138 This also includes the necessary checking for GDB's data even though none exists atm (rust-lang#160377 will contain the first set). The extra handling doesn't hurt anything since we have to account for all the other tests that don't have repr data anyway. In a followup, I can rename the `lldb_input` directory to something else (see: rust-lang#160137 (comment)). Doing so requires me to touch a bunch of other places where the name is used, so it should probably be it's own PR. Making sure the tests rerun when the data changes is higher priority though atm. r? @jieyouxu , @Kobzol cc @Mark-Simulacrum
…r=JonathanBrouwer update target-cpus test Fixes rust-lang#133919
Member
Author
|
@bors r+ p=5 |
Contributor
Contributor
|
This pull request was unapproved due to being closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
tests/debuginfotests if repr data has changed #161967 (Reruntests/debuginfotests if repr data has changed)r? @ghost
Create a similar rollup