[PATCH] D85921: [ORC] In LLLazyJIT provide public access to the CompileOnDemandLayer

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 02:35:33 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6bf74a924fe9: [ORC] In LLLazyJIT provide public access to the CompileOnDemandLayer (authored by sgraenitz).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85921

Files:
  llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h


Index: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
===================================================================
--- llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
+++ llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
@@ -238,6 +238,9 @@
     CODLayer->setPartitionFunction(std::move(Partition));
   }
 
+  /// Returns a reference to the on-demand layer.
+  CompileOnDemandLayer &getCompileOnDemandLayer() { return *CODLayer; }
+
   /// Add a module to be lazily compiled to JITDylib JD.
   Error addLazyIRModule(JITDylib &JD, ThreadSafeModule M);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85921.285602.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200814/680f02de/attachment.bin>


More information about the llvm-commits mailing list