• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1(*===-- llvm_linker.mli - LLVM OCaml Interface -----------------*- OCaml -*-===*
2 *
3 *                     The LLVM Compiler Infrastructure
4 *
5 * This file is distributed under the University of Illinois Open Source
6 * License. See LICENSE.TXT for details.
7 *
8 *===----------------------------------------------------------------------===*)
9
10(** Linker.
11
12    This interface provides an OCaml API for LLVM bitcode linker,
13    the classes in the Linker library. *)
14
15exception Error of string
16
17(** [link_modules' dst src] links [src] into [dst], raising [Error]
18    if the linking fails. The src module is destroyed. *)
19val link_modules' : Llvm.llmodule -> Llvm.llmodule -> unit