llvm-bitstream.rs

Crates.io

A pure-Rust library for interpreting files in LLVM's bitstream format.

Conceptually, this library is one step below a full LLVM bitcode parser: it can interpret the entries in a bitstream, but isn't aware of their semantics and isn't responsible for composing them into an LLVM IR program (or any other concrete structure that's been serialized as a bitstream).

This library uses llvm-bitcursor under the hood.