How to generate disassembly of ORC JIT

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.

1 Like