search for: load_bc

Displaying 1 result from an estimated 1 matches for "load_bc".

Did you mean: load_2
2011 Jun 11
0
[LLVMdev] Kaleidoscope Build Error
...hris and Erick, > > I am very interested in using your llvm ocaml bindings, but I'm having some > problems getting my code to link with it. I couldn't find a mailing list or > anything like that to ask this question on. I've got a very simple main > program: > > let load_bc ctx path = >   Llvm_bitreader.parse_bitcode ctx (Llvm.MemoryBuffer.of_file path) > > let main () = >   let ctx = Llvm.create_context () in >   let m = load_bc ctx "examples/nweb/nweb.bc" in >   print_string "loaded module successfully" > > and I'm try...