You can call ExecutionEngine::DisableSymbolSearching(true)
to disable automatically resolving with the linked code.
LLVM JIT : how to disable automatic function resolve?
Domanda
I was surprised to see that adding an a-priori non defined "double sin(double)" function in a C code that is JIT'ed actually worked... This is explained in LLVM doc, the JIT engine automatically falls back to dlsym("sin") which works as my code was linked with libm
However, I want to avoid this and have no built-in function in my JIT'ed code! How can I disable this behavior?
Thanks
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow