[LLVMdev] Understanding resolving external/built-in function references
Bill Kelly
billk at cts.com
Mon Jun 6 13:35:44 PDT 2011
James,
James Molloy wrote:
> The JIT supports lazy compilation mode where it will generate thunks
> that only get compiled/linked when called - see
> JIT::getPointerToFunctionOrStub *.
> The above would solve a bijective requirement that earlier code may
> rely on functions defined in later code - if that is not necessary
> then the JIT should just work out of the box.
> * Note that the lazy compilation mode currently does not work well in
> a multithreaded environment.
Thanks!
Sounds promising - lots to learn...
Regards,
Bill
More information about the llvm-dev
mailing list