[PATCH] D74300: [ORC] Add generic initializer/deinitializer support.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 09:06:36 PST 2020


lhames added a comment.

@ftynse, @mehdi_amini, @rriddle — This patch changed the way that LLJIT’s DataLayout member is initialized, but I’m still not sure exactly how it’s affecting your use case.

What happens if you explicitly set the LLJIT instance’s data layout by adding a ‘setDataLayout’ call to your LLJITBuilder? E.g.

  auto jit =
      cantFail(llvm::orc::LLJITBuilder()
                   .setDataLayout(dataLayout)
                   .setCompileFunctionCreator(compileFunctionCreator)
                   .setObjectLinkingLayerCreator(objectLinkingLayerCreator)
                   .create());



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74300/new/

https://reviews.llvm.org/D74300





More information about the llvm-commits mailing list