[llvm-dev] Is it possible to execute Objective-C code via LLVM JIT?

Nat! via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 14 05:55:31 PST 2018

If you'd link "lli" with the Cocoa framework, wouldn't dyld do all the 
appropriate runtime setup stuff for lli and you'd be all set ?

I haven't tried it myself.


P.S. Can't help myself to mention, that I would expect none of these JIT 
problems with the mulle-objc runtime, since it does use module init 
functions and doesn't rely on any special linker stuff. :) But it won't 
run Cocoa for you for sure...

More information about the llvm-dev mailing list