Skip to content

Instrumentation profile data contains empty function name (?) as of nightly-2025-05-19 #141577

Open
@jan-ferdinand

Description

@jan-ferdinand

Hi there! I hope I'm using the right issue template and the right repository; apologies if I'm not. Happy about pointers to improve on that.
Also, the issue's title might be arbitrarily far from what's actually going on.

Code

I tried to run the following command on this crate:

cargo llvm-cov

I expected to see this happen: successful generation of a coverage report, for example like in this workflow run.

Instead, this happened: error “malformed instrumentation profile data: function name is empty”, for example like in this workflow run.

I can reproduce the error locally, so I'm reasonably sure that it's not CI's fault.

Version it worked on

rustc --version --verbose:

rustc 1.89.0-nightly (4d051fb30 2025-05-18)
binary: rustc
commit-hash: 4d051fb306e661654d088892e02e69b8c0c39d43
commit-date: 2025-05-18
host: x86_64-unknown-linux-gnu
release: 1.89.0-nightly
LLVM version: 20.1.5

Version with regression

rustc --version --verbose:

rustc 1.89.0-nightly (60dabef95 2025-05-19)
binary: rustc
commit-hash: 60dabef95a3de3ec974dcb50926e4bfe743f078f
commit-date: 2025-05-19
host: x86_64-unknown-linux-gnu
release: 1.89.0-nightly
LLVM version: 20.1.5

I have tried to run cargo-bisect-rustc but can't get the installation of the component llvm-tools-preview to work there, since the toolchain bisect-* seems to be throwing something off. 😕

Metadata

Metadata

Assignees

Labels

A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)C-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions