[LLVMdev] LLVM+OCaml Bindings for the latest LLVM is slower than 2.6
jianzhou at seas.upenn.edu
Tue Feb 16 10:29:16 PST 2010
LLVM-2.6 takes 3s from OCamlbuild, but the lastest LLVM (I am using
r95712) takes 34s. I attached the code.
But the new LLVM fixed a problem of dispose_module in 2.6.
I got this error in 2.6, but the new LLVM works well.
While deleting: [14 x i8]* %greeting
An asserting value handle still pointed to this value!
UNREACHABLE executed at
I had some problem to debug assertions in C++ from OCaml, so did not
figure out the root cause yet.
But it is fixed anyway.
Do we need to expliciltly release (dispose_module) a module in OCaml
at the end of a program?
The C++ tutorial does not call dispose_module in C++. When should I
use this interface?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1353 bytes
Desc: not available
More information about the llvm-dev