xd009642 / llvm-profparser

Mostly complete pure rust implementation of parsing llvm instrumentation profile data
Apache License 2.0
13 stars 9 forks source link

Fails to parse Windows ARM llvm-profraw files #35

Open Javagedes opened 1 year ago

Javagedes commented 1 year ago

Hello,

We use tarpaulin to calculate code coverage and have recently began running our CI piplines with Windows ARM CI runners (In addition to standard Windows / Linux runners). The package is tested and code coverage is calculated fine on all runners except for our Windows-ARM runners with the same error as reported in https://github.com/xd009642/tarpaulin/issues/1282.

I'm not sure if it is in issue with your custom profparser, or if Windows-ARM generates a bad profraw file, so I've attached the profraw file that is being parsed when we end up seeing the error:

INFO cargo_tarpaulin::statemachine::instrumented: Merging coverage reports
ERROR cargo_tarpaulin: Parsing failed

**Update, can't attach the profraw file, so you can access it in a temporary repo I uploaded it to: https://github.com/Javagedes/testing123