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.<div><br></div><div>Here's my code: <a href="https://hasteb.in/ohexiweb.cpp">https://hasteb.in/ohexiweb.cpp</a></div><div><br></div><div>I compile it using</div><div><br></div><div>clang `llvm-config --cflags --ldflags --libs all` main.c -o main -g -rdynamic</div><div><br></div><div>And it ends up segfaulting at the line where it calls LLVMOrcAddLazilyCompiledIR</div><div><br></div><div>I can do a similar example with MCJIT just fine but i need to use lazy compiling here.</div><div><br></div><div>Could anyone point out the mistakes in my code or give me a full example of properly using Orc JIT from the C API, Thanks.</div>