[LLVMdev] runtime library for jitted code

Albert Graef Dr.Graef at t-online.de
Mon Jun 15 18:35:16 PDT 2009


Victor Zverovich wrote:
> I tried to load a DLL with DynamicLibrary::LoadLibraryPermanently and it
> works perfectly, so there is no need to use
> ExecutionEngine::addGlobalMapping. However Function objects still need
> to be constructed since they are required when creating a call, right?

Yes, basically you need to construct the IR for a body-less function
with external binding, the JIT will then try to resolve it when you call
the function.

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag



More information about the llvm-dev mailing list