Crates.io | llvm_profparser |
lib.rs | llvm_profparser |
version | 0.7.0 |
source | src |
created_at | 2021-11-09 21:51:20.675334 |
updated_at | 2024-08-05 10:46:42.369551 |
description | Parsing and interpretation of llvm coverage profiles and generated data |
homepage | |
repository | https://github.com/xd009642/llvm-profparser |
max_upload_size | |
id | 479082 |
size | 173,044 |
This is a reasonably complete to parse the llvm instrumentation profraw file format and avoid the need to install and use the llvm-profdata/llvm-cov binaries. It aims to be backwards compatible with as many llvm versions that could be used for coverage data in Rust projects and currently supports the following llvm versions: 11, 12, 13, 14, 15.
This project is not affilated with the llvm-project in anyway! It is merely a parser for some of their file formats to aid interoperability in Rust.
All of the functionality required has been implemented, however there are areas to improve in handling unexpected or invalid files. To start fining issues there's a fuzz directory which will undoubtedly reveal some issues that can be fixed. Go into the fuzz directory for guides on how to run.
llvm_profparser is currently licensed under the terms of the Apache License
(Version 2.0). See LICENSE for details. Test data included from the llvm-project
residing in tests/data
retains the llvm license. See the llvm-project for
details.