Displaying 2 results from an estimated 2 matches for "createjitcompil".
Did you mean:
createjitcompiler
2009 Oct 21
2
[LLVMdev] Problem initializing a JIT via C bindings
...ing problem I can't figure out.
Here's how I'm invoking the JIT in 2.5.
LLVMInitializeNativeTarget(); <-- for the updated version
LLVMCreateMemoryBufferWithContentsOfFile("code.bc", &buffer, &err);
LLVMGetBitcodeModuleProvider(buffer, &provider, &err);
LLVMCreateJITCompiler(&engine, provider, 1, &err);
After that LLVMFindFunction and RunFunction work wonderfully on 2.5. The TOT version errors out on the CreateJITCompiler call with a "JIT has not been linked in" message.
I'm compiling it as follows, which completes with no errors on either LL...
2009 Oct 22
0
[LLVMdev] Problem initializing a JIT via C bindings
...>
> Here's how I'm invoking the JIT in 2.5.
>
> LLVMInitializeNativeTarget(); <-- for the updated version
> LLVMCreateMemoryBufferWithContentsOfFile("code.bc", &buffer, &err);
> LLVMGetBitcodeModuleProvider(buffer, &provider, &err);
> LLVMCreateJITCompiler(&engine, provider, 1, &err);
>
> After that LLVMFindFunction and RunFunction work wonderfully on 2.5. The TOT version errors out on the CreateJITCompiler call with a "JIT has not been linked in" message.
>
> I'm compiling it as follows, which completes with no...