[LLVMdev] reading a module from a memory string (BitCode)

Chris Lattner sabre at nondot.org
Sun May 13 14:59:07 PDT 2007


On Sun, 13 May 2007, Basile STARYNKEVITCH wrote:
> Apparently BitcodeReader.h is only in lib/Bitcode/Reader/ but not in
> include, so a make install does not install it.

I'm not sure what you mean... the header is in include/llvm/Bitcode.

> Is it supposed to be accessible from applications? How exactly? I feel that
> some install rule is missing; after a sudo make install,
>  grep -rn BitcodeReader /usr/local/include/llvm/
> don't find any occurrence! Is this a bug or a misunderstanding of mine?

I think there is something strange going on :)  Try doing a full update 
from cvs.

> Can I assume the bytecode interface is obsolete and to be replaced by 
> bitcode?

Bytecode is completely gone now.

> BTW, my hoobby project is an hypertextual programming language experiment
> with only a Web interface (no source files). So I want to store every
> procuced llbm Module in a MySQL database.

That shouldn't be a problem!

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list