mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
eca47fe7df
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}~" llvm-svn: 42532
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"
|