package llvm
The OCaml bindings distributed with LLVM
Install
Dune Dependency
Authors
Maintainers
Sources
llvm-dune-full-minified-15.0.7+nnp-3.tar.gz
md5=c81299338fdd29961ec659f0239e6d8c
sha512=186c8b9f2b5ed61150214b7e8046f08f66bfbcad3af3dc946c4840ff57ca9fcbc0f15c32f8b062b9cc331bdb02a8315afaad6d3810a3b56d7348db2fd376699a
doc/llvm_bitreader_static/Llvm_bitreader/index.html
Module Llvm_bitreader
Source
Bitcode reader.
This interface provides an OCaml API for the LLVM bitcode reader, the classes in the Bitreader library.
get_module context mb
reads the bitcode for a new module m
from the memory buffer mb
in the context context
. Returns m
if successful, or raises Error msg
otherwise, where msg
is a description of the error encountered. See the function llvm::getBitcodeModule
.
parse_bitcode context mb
parses the bitcode for a new module m
from the memory buffer mb
in the context context
. Returns m
if successful, or raises Error msg
otherwise, where msg
is a description of the error encountered. See the function llvm::ParseBitcodeFile
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>