brintos

brintos / llvm-project-archived public Read only

0
0
Text · 702 B · 4300b3b Raw
19 lines · plain
1(*===-- llvm_linker.mli - LLVM OCaml Interface -----------------*- OCaml -*-===*2 *3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4 * See https://llvm.org/LICENSE.txt for license information.5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6 *7 *===----------------------------------------------------------------------===*)8 9(** Linker.10 11    This interface provides an OCaml API for LLVM bitcode linker,12    the classes in the Linker library. *)13 14exception Error of string15 16(** [link_modules dst src] links [src] into [dst], raising [Error]17    if the linking fails. The src module is destroyed. *)18val link_modules : Llvm.llmodule -> Llvm.llmodule -> unit19