GitXplorerGitXplorer
x

llvm-profparser

public
13 stars
8 forks
4 issues

Commits

List of commits on branch master.
Verified
9508ae4316e8489ce0c2f5a31fbd512d0ac48a9d

Work on llvm 19 (#43)

xxd009642 committed 5 months ago
Unverified
6ee77c71e626dbd9ebf79eaf1b63eaf90ed4f934

Release commit

xxd009642 committed 8 months ago
Verified
72f969b34ad033fb95ccd957e2ff9c882d210873

Initial implementation (#42)

xxd009642 committed 8 months ago
Unverified
da7fd2608382cbbf0e00c815b68f29e4a5b6267d

Some clippy lints

xxd009642 committed 8 months ago
Verified
c6b38c3a7334d4a192726d1f1360b76501891a9f

Some mapping perf improvements (#40)

xxd009642 committed 8 months ago
Verified
4c55110fd031ea2ef5cd883aae9a28e77ef9ceb1

Allow for binary parse failures in report gen (#39)

xxd009642 committed 9 months ago

README

The README file for this repository.

llvm-profparser

Build Status License Coverage Status

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.

Contributing

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.

License

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.