Execute lli with LLLazyJIT and JITLink on windows (original) (raw)

August 17, 2023, 4:26am 1

I want to execute LLVM IR files with lazy JIT and get the address of the JITed functions on windows.

In LLLazyJIT, it seems possible to get the address of the JITed function by using JITLink and objectLinkingLayer plugin.
Therefore, I am trying to use JITLink on windows.

Currently I tried to run lli with the following options for using LLLazyJIT and JITLINK.

However, I got the following error:

Symbols not found: [ __orc_rt_jit_dlopen_wrapper ]

This error seems to occur in ORCPlatformSupport::initialize.
"__orc_rt_jit_dlopen_wrapper " seems to be included in the orc runtime (orc_rt-x86_64.lib).

Is there any way to work around this error?

llvm version : 17.0.0-rc1
os : windows 11 64bit

Thank you.

iaiotom December 9, 2023, 11:10am 2

I have the same problem with llvm 17.0.6. Did you find a solution?
Thanks