Llvm JIT Build Assembly Target Team

I want to print the total number of NATIVE TARGET statements executed at run time using JIT.

My plan was to add an instruction (which increments the value of the variable in memory) after the EVERY instruction of the newly assembled time assembly. To do this, I need access to the section containing the compiled assembly instructions “just in time”. The JIT documentation for LLVM is not very good, and I could not reverse engineer the JIT code in LLVM!

Could you give me some hints of this? Thank you

+4
source share

Source: https://habr.com/ru/post/1415216/


All Articles