Displaying 1 result from an estimated 1 matches for "hasteb".
Did you mean:
haste
2019 Feb 25
2
LLVM C API OrcJIT
Hello, I've been trying to use LLVM's Orc JIT from C API for a few days and
i can't get it to work, I'm kind of annoyed for the lack of documentation
examples for the C API.
Here's my code: https://hasteb.in/ohexiweb.cpp
I compile it using
clang `llvm-config --cflags --ldflags --libs all` main.c -o main -g
-rdynamic
And it ends up segfaulting at the line where it calls
LLVMOrcAddLazilyCompiledIR
I can do a similar example with MCJIT just fine but i need to use lazy
compiling here.
Could anyone...