1*9880d681SAndroid Build Coastguard Worker(*===-- llvm_linker.mli - 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(** Linker. 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker This interface provides an OCaml API for LLVM bitcode linker, 13*9880d681SAndroid Build Coastguard Worker the classes in the Linker library. *) 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Workerexception Error of string 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker(** [link_modules' dst src] links [src] into [dst], raising [Error] 18*9880d681SAndroid Build Coastguard Worker if the linking fails. The src module is destroyed. *) 19*9880d681SAndroid Build Coastguard Workerval link_modules' : Llvm.llmodule -> Llvm.llmodule -> unit