<div dir="ltr"><div>Background:</div><div><br></div><div>We plan to use ORC to JIT compile hot-paths, optimizing them to fully utilize the currently running architecture.</div><div><br></div><div>To do this, we extract the hot-paths' code section (including external linkages, functions, variables, etc) and embed them into the host program. These embedded information are then pass to orc to be compiled and executed.</div><div><br></div><div>However, the JIT process may fail and may corrupt the host program. Therefore, we would like to launch a different program to run this JIT process (including linking symbols that resides in the host program) and stream the JIT symbol back to the main program for execution.</div><div><br></div><div>In short, the main program request the JIT program to compile some IR and return the JIT symbol back to the main program for execution.</div><div><br></div><div>Question:<br><div><br></div><div>Is there any tool support for this use-case?</div><div>Or, do we have to use our own IPC methods (shared memory) and JIT compile the IR onto the shared memory, and lookup the JIT symbol in the shared memory?</div></div><div><br><br></div><div>Regards,</div><div><br></div><div>Choe</div></div>