Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xd009642/llvm-profparser
Mostly complete pure rust implementation of parsing llvm instrumentation profile data
https://github.com/xd009642/llvm-profparser
coverage-data deserialization hacktoberfest llvm parser
Last synced: 3 months ago
JSON representation
Mostly complete pure rust implementation of parsing llvm instrumentation profile data
- Host: GitHub
- URL: https://github.com/xd009642/llvm-profparser
- Owner: xd009642
- License: apache-2.0
- Created: 2021-01-04T18:11:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T19:47:40.000Z (10 months ago)
- Last Synced: 2024-04-14T05:25:56.416Z (10 months ago)
- Topics: coverage-data, deserialization, hacktoberfest, llvm, parser
- Language: Rust
- Homepage:
- Size: 7.9 MB
- Stars: 11
- Watchers: 4
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# llvm-profparser
[![Build Status](https://github.com/xd009642/llvm-profparser/workflows/Build/badge.svg)](https://github.com/xd009642/llvm-profparser/actions)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Coverage Status](https://coveralls.io/repos/github/xd009642/llvm-profparser/badge.svg?branch=master)](https://coveralls.io/github/xd009642/llvm-profparser?branch=master)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.