[llvm-dev] LLJIT: Help: how to add a archive?

Francis ANDRE via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 22 00:41:19 PDT 2021


Hello everyone

Unless I misunderstood the class LLJIT, there is no function to add a 
archive (.lib on Windows or .a on Linux) to the instance of LLJIT, but 
one can only add an object  or a IR module. I am trying to JIT the code 
below and need this Windows library: legacy_stdio_definitions.lib

HelloWorld.c
extern int printf(char*, ...);
int main() {
    printf("Hello World!\n");
    return 0;
}

What did I miss?

Rdgs

FA


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210322/31d26803/attachment.html>


More information about the llvm-dev mailing list