1*9880d681SAndroid Build Coastguard Worker(*===-- llvm_irreader.ml - LLVM OCaml Interface ---------------*- OCaml -*-===* 2*9880d681SAndroid Build Coastguard Worker * 3*9880d681SAndroid Build Coastguard Worker * The LLVM Compiler Infrastructure 4*9880d681SAndroid Build Coastguard Worker * 5*9880d681SAndroid Build Coastguard Worker * This file is distributed under the University of Illinois Open Source 6*9880d681SAndroid Build Coastguard Worker * License. See LICENSE.TXT for details. 7*9880d681SAndroid Build Coastguard Worker * 8*9880d681SAndroid Build Coastguard Worker *===----------------------------------------------------------------------===*) 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Workerexception Error of string 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Workerlet _ = Callback.register_exception "Llvm_irreader.Error" (Error "") 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Workerexternal parse_ir : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule 16*9880d681SAndroid Build Coastguard Worker = "llvm_parse_ir" 17