aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/linker/llvm_linker.ml
blob: 3044abd8b6cf6281076a9090de765d87eb6547ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(*===-- llvm_linker.ml - LLVM OCaml Interface ------------------*- OCaml -*-===*
 *
 *                     The LLVM Compiler Infrastructure
 *
 * This file is distributed under the University of Illinois Open Source
 * License. See LICENSE.TXT for details.
 *
 *===----------------------------------------------------------------------===*)

exception Error of string

let () = Callback.register_exception "Llvm_linker.Error" (Error "")

external link_modules : Llvm.llmodule -> Llvm.llmodule -> unit
                      = "llvm_link_modules"