module MemoryBuffer:sig
..end
val of_file : string -> Llvm.llmemorybuffer
of_file p
is the memory buffer containing the contents of the file at
path p
. If the file could not be read, then IoError msg
is
raised.val of_stdin : unit -> Llvm.llmemorybuffer
stdin ()
is the memory buffer containing the contents of standard input.
If standard input is empty, then IoError msg
is raised.val dispose : Llvm.llmemorybuffer -> unit