Displaying 2 results from an estimated 2 matches for "howtouselljit".
2019 Nov 18
2
HowToUseLLJIT crashes in debug build
Using llvm 9, visual studio, HowToUseLLJIT.cpp
It works fine in a release build. In a debug build It aborts due to an assert failure on Core.cpp (383) because the lhs flags are (Exported | Callable) and the rhs flags are (Callable).
What mods should be made to fix this issue?
Side note: The comments at the top reference HowToUseJIT.cpp r...
2019 May 12
2
JIT compilation with LLVM
Hello LLVM developers,
I am developing a small project using LLVM. The objective is to provide
dynamic loading via JIT compilation of C++ code contained in a (TS) module.
For this reason, I would like to return an explicitly raw void pointer
(resembling libdl's `void *dlsym(void *, char const *);` as closely as
possible) to the compiled result. The MCJIT class offers the most
convenient API