[cfe-dev] Clang-interpreter and JIT on Win32/MSVC

Eli Friedman eli.friedman at gmail.com
Thu Oct 6 15:26:21 PDT 2011


On Thu, Oct 6, 2011 at 2:50 AM, Dean Pavlekovic <dpavlekovic at gmail.com> wrote:
> Hello,
>
> In clang-interpreter example JIT (ExecutionEngine::JITCtor) is not
> initialized, making program always fail with "unable to make execution
> engine: JIT has not been linked in."
> Adding #include "llvm/ExecutionEngine/JIT.h" to
> clang-interpreter:main.cpp solves the problem (based on a comment in
> llvm/ExecutionEngine/JIT.h stating "This file forces the JIT to link
> in on certain operating systems (Windows))

r141324; thanks for the patch!

-Eli



More information about the cfe-dev mailing list