How to make llvm jit work in MSVC++

后端 未结 2 1857
伪装坚强ぢ
伪装坚强ぢ 2021-01-16 04:25

It appears that Kaleidoscope example in LLVM has been broken, at least in MSVC++ x64 for a quite while, maybe several months. It doesn\'t work in MCJIT and in their new Orc

2条回答
  •  离开以前
    2021-01-16 05:15

    For me the easiest way to workaround this was to patch the findMangledSymbol function, calling CompileLayer.findSymbolIn with bExportedSymbolsOnly set to false. It doesn't fix the problem but avoids the symptom.

提交回复
热议问题