[llvm-dev] (How) Can I add C standard libraries to JIT?

Yafei Liu via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 18 02:22:48 PDT 2019


When I declare some functions in my IR code which belongs to the C standard
library(printf for example), the JIT will report that symbol cannot found.

So is there any way I can add these libraries to my JIT?

P.S. When I using lli, the printf will work, I guess lli is a JIT(right?)
and it somehow knows where to find the symbol printf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190918/becb7797/attachment.html>


More information about the llvm-dev mailing list