2013-11-03 16:27:32 +08:00
|
|
|
(*===-- 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
|
|
|
|
|
2014-10-29 16:15:54 +08:00
|
|
|
let () = Callback.register_exception "Llvm_linker.Error" (Error "")
|
2013-11-03 16:27:32 +08:00
|
|
|
|
2015-12-17 07:16:33 +08:00
|
|
|
external link_modules' : Llvm.llmodule -> Llvm.llmodule -> unit
|
|
|
|
= "llvm_link_modules"
|