llvm-bitcode icon indicating copy to clipboard operation
llvm-bitcode copied to clipboard

Experimental LLVM bitcode reader/writer

Results 6 llvm-bitcode issues
Sort by recently updated
recently updated
newest added

Add tests that call `clang -emit-llvm -c somefile.c` to produce a .bc bitcode file, then parse that file with this library. This test can be orchestrated by build.zig. It would...

[llvm-bcanalyzer](https://www.llvm.org/docs/CommandGuide/llvm-bcanalyzer.html) is an official LLVM tool that reads, validates, and analyzes bitcode files. Generate .bc files and ensure llvm-bcanalyzer is able to parse them correctly. As with #5, consider fuzz...

Anywhere an `error: TODO` log is present represents a block or record code that is skipped but should be converted to data in the bitcode structure. Do 'em.

Render the LLVM Bitcode structure to the bitstream format. The only complicated part of this is the ability to choose the best encoding scheme for any given record (unabbreviated or...

This should mirror the API of the bitstream reader.

The "more" bit in a VBR chunk indicates that there are more chunks to parse, which are then shifted and added to the final value. A valid VBR can represent...