mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
1d4e0782ba
stdlib if it's beneath --prefix, and is libdir/ocaml otherwise. If someone has a better way than this to test whether $B is a path within $A, I'd love to hear it: if test "$A" \< "$B" -a "$B" \< "${A}~" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42532 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
773 B
OCaml
19 lines
773 B
OCaml
(*===-- llvm_bitwriter.mli - LLVM Ocaml Interface ---------------*- C++ -*-===*
|
|
*
|
|
* The LLVM Compiler Infrastructure
|
|
*
|
|
* This file was developed by Gordon Henriksen and is distributed under the
|
|
* University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
*
|
|
*===----------------------------------------------------------------------===
|
|
*
|
|
* This interface provides an ocaml API for the LLVM bitcode writer, the
|
|
* classes in the Bitwriter library.
|
|
*
|
|
*===----------------------------------------------------------------------===*)
|
|
|
|
|
|
(* Writes the bitcode for module the given path. Returns true if successful. *)
|
|
external write_bitcode_file : Llvm.llmodule -> string -> bool
|
|
= "llvm_write_bitcode_file"
|