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