Actually there is functionality to dump the LLVM bitcode in Julia:
See jl_dump_bitcode
.
Thanks to Isiah for pointing out that it is possible to use code_llvm
to read the bitcode in the interpreter.
Note that in julia_trampoline
this function is used, depending on a build_path
option. However this does not seem like an end-user interface to me.
In contrast to other JIT-based software like NodeJS (V8), it is however technically possible to dump the LLVM bitcode.