[LLVMdev] Calling LLVM IRbuilder from the LLVM JIT compiler

Gordon Henriksen gordonhenriksen at me.com
Tue Feb 24 13:55:19 PST 2009


On 2009-02-24, at 16:38, Samuel Crow wrote:

> A friend and I am making a parser generator and in order to  
> streamline the language development process, we were going to make  
> the LLVM IR builder directly accessible using the LLVM Assembly  
> language as a scripting language to generate the code.

You propose to write scripts in LLVM IR? To save time?

> What kind of name mangling problems would we run into by calling the  
> LLVM libraries directly from an instance of the LLVM JIT compiler?

Don't try to call C++ functions from not-C++. Use the C bindings  
instead.

— Gordon





More information about the llvm-dev mailing list