[LLVMdev] runtime library for jitted code
Anton Korobeynikov
anton at korobeynikov.info
Mon Jun 15 06:52:43 PDT 2009
Hello, Victor
> found is to create llvm::Function objects and use
> ExecutionEngine::addGlobalMapping to map them to the implementations. This
> works fine but is quite labour-consuming since every library function
> required used in jitted code needs to be mapped. Does anyone know a better
> way?
Theoretically you should be able to load the .dll into address space
of the application, "register" it and stuff should magically work. I
am not sure whether this functionality obtained much care recently, so
some bugfixing might be needed.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list