<div dir="ltr">It seems that, the work of the LLVM interpret (lli) is just to interpret the IR code.<div>For external functions, as well as most library functions, the interpret cannot interpret them, since there is no source IR code for these functions. </div><div>So, you may try:<br>1) Compile the source code external functions together to obtain their IR code; or,</div><div>2) Skip the external functions via comment the "LLVM ERROR" reporting code to avoid early termination. But the simulation result is not correct since the work of external functions is skipped.<div>-- <br><div class="gmail_signature">Best regards,<div><br></div><div>Li Qingan</div></div>
</div></div></div>