mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[LLJIT] Add API to expose linking layer from LLJIT classes
Summary: This patch just surfaces the object linking layer from the LLJIT classes so that clients can take advantage of the changes implemented in r341154. Reviewers: lhames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D51551 llvm-svn: 342567
This commit is contained in:
parent
81ce398cd5
commit
b11205865d
@ -86,6 +86,9 @@ public:
|
||||
/// Runs all not-yet-run static destructors.
|
||||
Error runDestructors() { return DtorRunner.run(); }
|
||||
|
||||
/// Returns a reference to the ObjLinkingLayer
|
||||
RTDyldObjectLinkingLayer2 &getObjLinkingLayer() { return ObjLinkingLayer; }
|
||||
|
||||
protected:
|
||||
LLJIT(std::unique_ptr<ExecutionSession> ES, std::unique_ptr<TargetMachine> TM,
|
||||
DataLayout DL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user