[llvm-dev] Question about LLVM JIT, LLVM ERROR: Target does not support MC emission!
Cooper Clauson via llvm-dev
llvm-dev at lists.llvm.org
Mon Aug 22 23:57:31 PDT 2016
Nvm, I tried building the most recent version from source, it seems to work now, thanks!
________________________________
From: Cooper Clauson <ceclauson at hotmail.com>
Sent: Monday, August 22, 2016 7:33:17 PM
To: llvm-dev at lists.llvm.org
Cc: lhames at gmail.com
Subject: Question about LLVM JIT, LLVM ERROR: Target does not support MC emission!
Hi, I have a question about JIT
I'm trying to run the current version of HowToUseJIT.cpp, but I get the error "LLVM ERROR: Target does not support MC emission!", does anyone know how to fix this?
I also have a sample that uses this API: http://llvm.org/docs/doxygen/html/group__LLVMCCoreInstructionBuilder.html, it used to have the same problem, I resolved it by adding LLVMInitializeAllTargetMCs(); but that doesn't work on this version
I'm on Fedora 23 on an x86_64
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160823/44ab8166/attachment.html>
More information about the llvm-dev
mailing list