Example of C++ JIT compilation to LLVM from memory Detailed description in the article on habr https://habr.com/ru/post/803787/