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

Reid Kleckner rnk at mit.edu
Sat Jul 18 13:40:12 PDT 2009


I probably introduced that bug, but I don't know how I might have
caused it, since those headers weren't there before.  The other
examples probably all have the same problems, so I'd update them as
well.

Reid

On Sat, Jul 18, 2009 at 1:27 PM, Xerxes RĂ„nby<xerxes at zafena.se> 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?
> Xerxes
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>




More information about the llvm-commits mailing list