I have a question regarding LLVM Jitter: Can I get LLVM Jitter to emit native code in read-only memory addresses? and be a pic? what I want to do is move the saved JIT code to a file and load it for execution later ..
what I mean by βloadβ is just to read bits from a file into the buffer, I donβt want to generate an elf or something like that.
Here is an example: suppose I have a C source file that contains:
Global variables ---------------- Function Foo() ---------------- Function Too()
when I request a JIT code, I want the JIT to be in the memory addresses of the continuum:
0x100: Global Vars (take 16 Byte) 0x110: Foo() Code (take 32 Byte) 0x130: Too() Code (take 32 Byte) 0x150: end.
source share