HI,
I am updating JIT version from MCJIT to ORCJIT, but the performance of my tests get worse. So i am wondering how to analyse the final code generated from JIT, is there a way to print the disassembly of JIT result?
Thanks!
HI,
I am updating JIT version from MCJIT to ORCJIT, but the performance of my tests get worse. So i am wondering how to analyse the final code generated from JIT, is there a way to print the disassembly of JIT result?
Thanks!
After some research, i achieve the disassembly generation in ORCJIT by “DumpObjects”. The example is well documented in “LLJITDumpObjects.cpp”. And the dumped object can be translated to disassembly by objdump.