Comments (6)
(I'm wondering if this may be another instance of #325.)
from cargo-llvm-cov.
As taiki-e said in the other thread this is a problem of LLVM and not much can be done in cargo-llvm-cov about it. The coverage profiles should be merged but llvm-cov/llvm-profdata would need to do that.
from cargo-llvm-cov.
(I'm wondering if this may be another instance of #325.)
It almost certainly is. I am also pleasantly surprised that I was wrong and that the issue can be solved with a demangler even with current LLVM implementation! That is great news and could improve teh quality of the coverage reporting.
from cargo-llvm-cov.
This probably has been fixed in v0.6.7 (#354). Could you recheck this with v0.6.7?
from cargo-llvm-cov.
This probably has been fixed in v0.6.7 (#354). Could you recheck this with v0.6.7?
Thanks for this, I have tried it and I see no missing lines with multiple instantiations anymore as long as the coverage overlaps.
The only remaining issue is await
not always mark as executed even though call cahing before/after was executed. But that is a different issue I think not related to demangler or instantiations.
from cargo-llvm-cov.
Thanks for confirming!
The only remaining issue is
await
not always mark as executed even though call cahing before/after was executed. But that is a different issue I think not related to demangler or instantiations.
Yeah, it's different rustc bug: rust-lang/rust#98712
from cargo-llvm-cov.
Related Issues (20)
- [Proposal] Add support for `wasm-pack test`
- Exclude tag does not work properly on packages with both main.rs and lib.rs HOT 2
- Demangling HOT 4
- Failed to load coverage: *.rmeta The file was not recognized as a valid object file HOT 3
- [HELP] error: failed to merge profile data: process didn't exit successfully HOT 4
- Allow running individual tests with coverage HOT 2
- `cargo llvm-cov nexttest-archive` does not work with the `--cargo-profile` flag of nextest HOT 1
- Support for fuzzing HOT 1
- List the tests that exercise a function HOT 5
- Line coverage mismatch on trybuild-based proc-macros tests HOT 2
- Coverage for a single package inside a workspace HOT 1
- Error when specifying LLVM tools that are incompatible with LLVM version of rustc (Homebrew LLVM 17.0.6 vs rustc 1.78.0-beta -- LLVM 18.1.2) HOT 6
- Runtime and instrumentation version mismatch HOT 6
- Coverage of #[no_mangle] functions in cdylib is missed HOT 5
- Add issue template (reproduction is very important!)
- Add support for specifying arbitrary `--object`s HOT 1
- No coverage for log macros HOT 1
- Rust 1.80 upcoming warning: unexpected `cfg` condition name: `coverage_nightly` HOT 2
- Performance level expecations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-llvm-cov.