Displaying 1 result from an estimated 1 matches for "lmodu".
Did you mean:
lmod
2007 Dec 02
1
[LLVMdev] reading & writing bitcode from non file, e.g. GDBM store (or MySQL database)
...e
from a GDBM store with something like (all error handling is skipped)
datum keyd, vald; // GDBM key & value
// fill keyd appropriately
vald = gdbm_fetch (bark_gdbm, keyd);
MemoryBuffer* membuf = MemoryBuffer::getMemBuffer(vald.dptr,
vald.dptr+vald.dsize, bufnam);
Module* lmodu = ParseBitcodeFile(membuf, &errmsg);
// do something appropriate with the llvm module lmodu
Unfortunately, there is no way of dumping into memory, except by going
thru a stdc++ memory output buffer. Or am I wrong on this?
Regards, and thanks for your patience & reading.
--
Basile S...