coverage: Regression test for inlining into an uninstrumented crate by Zalathar · Pull Request #132437 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation10 Commits1 Checks6 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

@Zalathar

Regression test for #132395, after I was able to figure out a simple way to reproduce it. See also #132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

@rustbot

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

jieyouxu

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jieyouxu

r? jieyouxu
@bors r+ rollup

@bors

📌 Commit f3f1593 has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Nov 1, 2024

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 1, 2024

@matthiaskrgr

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 1, 2024

@bors

…iaskrgr

Rollup of 6 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

jieyouxu added a commit to jieyouxu/rust that referenced this pull request

Nov 1, 2024

@jieyouxu

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 1, 2024

@bors

Rollup of 13 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

@GuillaumeGomez

@bors bors added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Nov 1, 2024

@Zalathar

@Zalathar

Whether or not running this program produces a .profraw file appears to vary by platform.

Since that isn't the main point of this test, I've just added //@ ignore-coverage-run as a workaround (diff).

jieyouxu

@jieyouxu

Thanks, r=me after PR CI is green.

@Zalathar

I'm also running a side job to verify that the fix actually works.

@Zalathar

Side job succeeded on aarch64-gnu.

@bors r=jieyouxu

@bors

📌 Commit afe1902 has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Nov 2, 2024

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Nov 2, 2024

@GuillaumeGomez

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 2, 2024

@bors

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Nov 2, 2024

@GuillaumeGomez

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 2, 2024

@bors

workingjubilee added a commit to workingjubilee/rustc that referenced this pull request

Nov 2, 2024

@workingjubilee

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 3, 2024

@bors

workingjubilee added a commit to workingjubilee/rustc that referenced this pull request

Nov 3, 2024

@workingjubilee

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

workingjubilee added a commit to workingjubilee/rustc that referenced this pull request

Nov 3, 2024

@workingjubilee

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 3, 2024

@bors

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 3, 2024

@matthiaskrgr

…r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 3, 2024

@bors

bors added a commit to rust-lang-ci/rust that referenced this pull request

Nov 3, 2024

@bors

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Nov 3, 2024

@rust-timer

Rollup merge of rust-lang#132437 - Zalathar:inline-mixed-regression, r=jieyouxu

coverage: Regression test for inlining into an uninstrumented crate

Regression test for rust-lang#132395, after I was able to figure out a simple way to reproduce it. See also rust-lang#132436.

In addition to confirming that there is no ICE, this test also demonstrates that the affected code is undercounted, because executing the inlined copy doesn't increment coverage counters.

@Zalathar Zalathar deleted the inline-mixed-regression branch

November 3, 2024 21:27

Labels

A-code-coverage

Area: Source-based code coverage (-Cinstrument-coverage)

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.