[llvm-commits] [patch] Fix: Kaleidoscope link in JIT and Interpreter by including JIT.h and Interpreter.h

Chris Lattner clattner at apple.com
Sat Jul 18 14:38:59 PDT 2009


On Jul 18, 2009, at 1:27 PM, Xerxes RĂ„nby wrote:

> The Kaleidoscope example have been segfaulting recently since the
> EngineBuilder have returned a nullpointer for TheExecutionEngine.
>
> The attached patch fixes this by including JIT.h and Interpreter.h so
> that ExecutionEngine::JITCtor and ExecutionEngine::InterpCtor gets set
> and actually points to the constructors for the JIT and Interpreter  
> and
> makes ExecutionEngine::createJIT to be linked in before used by the
> EngineBuilder.
>
> Ok to commit?

Yep!  Thanks Xerxes,

-Chris



More information about the llvm-commits mailing list