Change MCAsmStreamer to take an MCInstPrinter instead of a
[llvm/avr.git] / bindings / ocaml / bitreader / llvm_bitreader.ml
blob88587cbe1ef94bba89b3e7c72b5ba52fafff3a17
1 (*===-- llvm_bitreader.ml - LLVM Ocaml Interface ----------------*- C++ -*-===*
3 * The LLVM Compiler Infrastructure
5 * This file is distributed under the University of Illinois Open Source
6 * License. See LICENSE.TXT for details.
8 *===----------------------------------------------------------------------===*)
11 exception Error of string
13 external register_exns : exn -> unit = "llvm_register_bitreader_exns"
14 let _ = register_exns (Error "")
16 external get_module_provider : Llvm.llcontext -> Llvm.llmemorybuffer ->
17 Llvm.llmoduleprovider
18 = "llvm_get_module_provider"
20 external parse_bitcode : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule
21 = "llvm_parse_bitcode"