Michael Muller
2009-Dec-12 16:19 UTC
[LLVMdev] Debugging a NULL return from the ExecutionEngine
Hi all, I'm trying to upgrade from LLVM 2.5 -> 2.6, and when I create my execution engine (ExecutionEngine::create(module)) I get back a null. What's the easiest way for me to find out what went wrong? ============================================================================michaelMuller = mmuller at enduden.com | http://www.mindhog.net/~mmuller ----------------------------------------------------------------------------- you and I are only different in our minds, the universe makes no such distinction =============================================================================
Török Edwin
2009-Dec-12 16:37 UTC
[LLVMdev] Debugging a NULL return from the ExecutionEngine
On 2009-12-12 18:19, Michael Muller wrote:> Hi all, I'm trying to upgrade from LLVM 2.5 -> 2.6, and when I create my > execution engine (ExecutionEngine::create(module)) I get back a null. > > What's the easiest way for me to find out what went wrong? > >You probably didn't call InitializeNativeTarget and ended up with no JIT support. Best regards, --Edwin
Reid Kleckner
2009-Dec-12 16:44 UTC
[LLVMdev] Debugging a NULL return from the ExecutionEngine
Also note that there is a third optional std::string* argument which if non-NULL gets set to an appropriate error message. Reid 2009/12/12 Török Edwin <edwintorok at gmail.com>:> On 2009-12-12 18:19, Michael Muller wrote: >> Hi all, I'm trying to upgrade from LLVM 2.5 -> 2.6, and when I create my >> execution engine (ExecutionEngine::create(module)) I get back a null. >> >> What's the easiest way for me to find out what went wrong? >> >> > > You probably didn't call InitializeNativeTarget and ended up with no JIT > support. > > Best regards, > --Edwin > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Maybe Matching Threads
- [LLVMdev] Using a function from another module
- [LLVMdev] ValueMapper question: no type mapping for GlobalValue?
- [LLVMdev] ValueMapper question: no type mapping for GlobalValue?
- [LLVMdev] introspecting debug info from the JIT
- [LLVMdev] introspecting debug info from the JIT