package llvm
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
The OCaml bindings distributed with LLVM
Install
dune-project
Dependency
Authors
Maintainers
Sources
llvm-project-18.1.8.src.tar.xz
sha256=0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a
md5=81cd0be5ae6f1ad8961746116d426a96
doc/llvm_bitwriter/Llvm_bitwriter/index.html
Module Llvm_bitwriter
Bitcode writer.
This interface provides an OCaml API for the LLVM bitcode writer, the classes in the Bitwriter library.
val write_bitcode_file : Llvm.llmodule -> string -> boolwrite_bitcode_file m path writes the bitcode for module m to the file at path. Returns true if successful, false otherwise.
val write_bitcode_to_fd :
?unbuffered:bool ->
Llvm.llmodule ->
Unix.file_descr ->
boolwrite_bitcode_to_fd ~unbuffered fd m writes the bitcode for module m to the channel c. If unbuffered is true, after every write the fd will be flushed. Returns true if successful, false otherwise.
val write_bitcode_to_memory_buffer : Llvm.llmodule -> Llvm.llmemorybufferwrite_bitcode_to_memory_buffer m returns a memory buffer containing the bitcode for module m.
val output_bitcode :
?unbuffered:bool ->
Stdlib.out_channel ->
Llvm.llmodule ->
booloutput_bitcode ~unbuffered c m writes the bitcode for module m to the channel c. If unbuffered is true, after every write the fd will be flushed. Returns true if successful, false otherwise.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>