[llvm-dev] ORC - which example code?
Praveen Velliengiri via llvm-dev
llvm-dev at lists.llvm.org
Thu May 9 22:17:49 PDT 2019
As far as I know, the second is preferred. You can also look at the LLJIT
&& LLLazyJIT stack in the trunk which is off the shelf utility.
On Fri, 10 May 2019 at 08:20, Russell Wallace via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Trying to put together a simple test JIT compiler, using ORC which as I
> understand it will be the supported API going forward, I noticed that in
> the first chapter of the updated Kaleidoscope tutorial, there is sample
> code that starts like this:
> ExecutionSession ES;
> RTDyldObjectLinkingLayer ObjectLayer;
> IRCompileLayer CompileLayer;
> DataLayout DL;
> MangleAndInterner Mangle;
> ThreadSafeContext Ctx;
> But in https://llvm.org/devmtg/2016-11/Slides/Hames-ORC.pdf there is
> sample code that looks like this:
> ObjectLinkingLayer LinkLayer;
> SimpleCompiler Compiler(TargetMachine());
> IRCompileLayer<…> CompileLayer(LinkLayer, Compiler);
> Related but significantly different.
> Which version is now considered correct/preferred?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev