Skip to content
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: Move unused-function synthesis into its own submodule #115505

Closed
wants to merge 2 commits into from

Conversation

Zalathar
Copy link
Contributor

@Zalathar Zalathar commented Sep 3, 2023

One of the tasks performed by coverage instrumentation is to synthesize stubs for unused functions, so that they can have coverage mappings associated with them and be processed normally by the LLVM coverage reporting tools.

This code is somewhat complex, and can be cleanly separated from what the other modules are doing, so this PR moves it into its own unused submodule.


This is purely moving existing code around, so there should be no behavioural changes.

@rustbot
Copy link
Collaborator

rustbot commented Sep 3, 2023

r? @TaKO8Ki

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) labels Sep 3, 2023
@Zalathar
Copy link
Contributor Author

Zalathar commented Sep 5, 2023

This is going to conflict with #114656, so I'll push an updated version once that's merged.

@bors
Copy link
Contributor

bors commented Sep 12, 2023

☔ The latest upstream changes (presumably #115671) made this pull request unmergeable. Please resolve the merge conflicts.

@Zalathar
Copy link
Contributor Author

Closing this for now because it's going to conflict with other work that's more important, so it isn't worth the hassle right now.

@Zalathar Zalathar closed this Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants