<div dir="ltr"><div dir="ltr">It turns out that ObjectLinkingLayer doesn't exist; that identifier occurs in the source tree only in comments, never as an identifier.</div><div dir="ltr"><br></div><div>Does that mean the second version of the API has been deleted and the first is now correct?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 10, 2019 at 6:18 AM Praveen Velliengiri <<a href="mailto:praveenvelliengiri@gmail.com">praveenvelliengiri@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Russell</div><div>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. <br></div><div>Thanks<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 10 May 2019 at 08:20, Russell Wallace via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">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:<div><br></div><div><div>ExecutionSession ES;</div><div>RTDyldObjectLinkingLayer ObjectLayer;</div><div>IRCompileLayer CompileLayer;</div><div><br></div><div>DataLayout DL;</div><div>MangleAndInterner Mangle;</div><div>ThreadSafeContext Ctx;</div></div><div><br></div><div>But in <a href="https://llvm.org/devmtg/2016-11/Slides/Hames-ORC.pdf" target="_blank">https://llvm.org/devmtg/2016-11/Slides/Hames-ORC.pdf</a> there is sample code that looks like this:</div><div><br></div><div><div>ObjectLinkingLayer LinkLayer;</div><div>SimpleCompiler Compiler(TargetMachine());</div><div>IRCompileLayer<…> CompileLayer(LinkLayer, Compiler);</div></div><div><br></div><div>Related but significantly different.</div><div><br></div><div>Which version is now considered correct/preferred?</div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>
</blockquote></div>