Is the ORC API currently stable enough to be recommended for use? If so, what documentation and example code represents the current recommended way of doing things with it? https://llvm.org/docs/tutorial/BuildingAJIT1.html says: "Warning: This text is currently out of date due to ORC API updates. The example code has been updated and can be used. The text will be updated once the API churn dies down." Does that mean the example code presented on the page, or some of the files under llvm/examples? If the latter, which ones? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180422/441da2dd/attachment.html>
(+Lang, Rider of Orcs) On Sun, Apr 22, 2018 at 3:03 AM Russell Wallace via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Is the ORC API currently stable enough to be recommended for use? If so, > what documentation and example code represents the current recommended way > of doing things with it? > > https://llvm.org/docs/tutorial/BuildingAJIT1.html says: > > "Warning: This text is currently out of date due to ORC API updates. > > The example code has been updated and can be used. The text will be > updated once the API churn dies down." > > Does that mean the example code presented on the page, or some of the > files under llvm/examples? If the latter, which ones? > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180430/9cf676a1/attachment.html>
Hi Russell, Sorry for the delayed reply. ORC is currently undergoing some churn while I update the API to support concurrent JIT'd code and concurrent compilation. This work is almost complete, so updated documentation should be landing soon (within a few weeks). The code in llvm/examples/Kaleidoscope/BuildingAJIT/* has been kept up-to-date and building. What is your use-case for the JIT? Depending on what you need I might be able to post some example code that uses the updated APIs now. Cheers, Lang. On Sun, Apr 22, 2018 at 3:03 AM, Russell Wallace via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Is the ORC API currently stable enough to be recommended for use? If so, > what documentation and example code represents the current recommended way > of doing things with it? > > https://llvm.org/docs/tutorial/BuildingAJIT1.html says: > > "Warning: This text is currently out of date due to ORC API updates. > > The example code has been updated and can be used. The text will be > updated once the API churn dies down." > > Does that mean the example code presented on the page, or some of the > files under llvm/examples? If the latter, which ones? > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180607/6aa3e6a4/attachment.html>