llvm-project/llvm/include/llvm-c
Gordon Henriksen 2b0eed278b Adding Ocaml bindings for the bitreader as requested by Sarah
Thompson. Usage should be something like this:

open Llvm
open Llvm_bitreader

match read_bitcode_file fn with
  | Bitreader_failure msg ->
      prerr_endline msg
  | Bitreader_success m -> 
      ...;
      dispose_module m

Compile with: ocamlc llvm.cma llvm_bitreader.cma
              ocamlopt llvm.cmxa llvm_bitreader.cmxa

llvm-svn: 44824
2007-12-11 00:20:48 +00:00
..
Analysis.h Bindings for the verifier. 2007-10-06 21:00:36 +00:00
BitReader.h Adding Ocaml bindings for the bitreader as requested by Sarah 2007-12-11 00:20:48 +00:00
BitWriter.h C bindings for libLLVMCore.a and libLLVMBitWriter.a. 2007-09-18 03:18:57 +00:00
Core.h Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
LinkTimeOptimizer.h Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth! 2007-01-06 23:53:43 +00:00