[LLVMdev] llvm::ExecutionEngine::createJIT
waxiadao
waxiadao at gmail.com
Sat Aug 16 22:34:59 PDT 2014
Hi,
As far as i can see I recommend EngineBuilder. :)
在 2014/8/16 7:47, C K Tan 写道:
> Hi all,
>
> Is the static method llvm::ExecutionEngine::createJIT() still
> supported on 3.4.2? Compile went ok, linking failed. Any idea?
>
> Thanks,
> -cktan
>
> clang++ -g -O0 `llvm-config --cxxflags` hello.cpp jit.o `llvm-config
> --libs core jit native` `llvm-config --ldflags` -o hello
> Undefined symbols for architecture x86_64:
> "llvm::ExecutionEngine::createJIT(llvm::Module*, std::string*,
> llvm::JITMemoryManager*, llvm::CodeGenOpt::Level, bool,
> llvm::Reloc::Model, llvm::CodeModel::Model)", referenced from:
> jit_init(bool) in jit.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make: *** [hello] Error 1
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140817/ea59fcd8/attachment.html>
More information about the llvm-dev
mailing list