mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-27 07:45:35 +00:00
[ORC] In LLLazyJIT provide public access to the CompileOnDemandLayer
This is analog to how LLJIT provides public access to all its layers. Differential Revision: https://reviews.llvm.org/D85921
This commit is contained in:
parent
92757f17c9
commit
e03618a9ec
@ -238,6 +238,9 @@ public:
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user