mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
d27b926340
Fixes pr21901. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224782 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
649 B
OCaml
19 lines
649 B
OCaml
(*===-- llvm_linker.mli - 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.
|
|
*
|
|
*===----------------------------------------------------------------------===*)
|
|
|
|
(** Linker.
|
|
|
|
This interface provides an OCaml API for LLVM bitcode linker,
|
|
the classes in the Linker library. *)
|
|
|
|
exception Error of string
|
|
|
|
(** [link_modules dst src mode] links [src] into [dst], raising [Error]
|
|
if the linking fails. *)
|
|
val link_modules : Llvm.llmodule -> Llvm.llmodule -> unit |