[LLVMdev] Debugging a NULL return from the ExecutionEngine

Reid Kleckner rnk at mit.edu
Sat Dec 12 08:44:48 PST 2009


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
>




More information about the llvm-dev mailing list