[cfe-dev] Compile a string?

Eric Christopher echristo at apple.com
Sat Jun 19 02:33:53 PDT 2010



> 
> I'm trying to compile a string into a Module so that I can link and
> then JIT it. What would be the best way of doing this?
> 

Not quite sure what you mean, but if you're just trying to get a global variable into a module you can use a GlobalVariable for that purpose - there are some helper routines to create a string. If this isn't what you were wondering then would you give a bit more information?

Thanks!

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100619/b65dc706/attachment.html>


More information about the cfe-dev mailing list