Qingan Li
2014-Nov-22 03:38 UTC
[LLVMdev] LLVM interpreter external function (Fulcrum TheFirst)
It seems that, the work of the LLVM interpret (lli) is just to interpret the IR code. For external functions, as well as most library functions, the interpret cannot interpret them, since there is no source IR code for these functions. So, you may try: 1) Compile the source code external functions together to obtain their IR code; or, 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. -- Best regards, Li Qingan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141122/3bf0c0ae/attachment.html>