12#ifndef LLVM_EXECUTIONENGINE_ORC_LAZYOBJECTLINKINGLAYER_H
13#define LLVM_EXECUTIONENGINE_ORC_LAZYOBJECTLINKINGLAYER_H
44 std::unique_ptr<MemoryBuffer> O,
47 void emit(std::unique_ptr<MaterializationResponsibility> R,
48 std::unique_ptr<MemoryBuffer> O)
override;
Lightweight error class with error context and mandatory checking.
void emit(std::unique_ptr< MaterializationResponsibility > R, std::unique_ptr< MemoryBuffer > O) override
Emit should materialize the given IR.
LazyObjectLinkingLayer(ObjectLinkingLayer &BaseLayer, LazyReexportsManager &LRMgr)
llvm::Error add(llvm::orc::ResourceTrackerSP RT, std::unique_ptr< MemoryBuffer > O, MaterializationUnit::Interface I) override
Add an object file to the JITDylib targeted by the given tracker.
ObjectLayer(ExecutionSession &ES)
An ObjectLayer implementation built on JITLink.
Base class for managing redirectable symbols in which a call gets redirected to another symbol in run...
IntrusiveRefCntPtr< ResourceTracker > ResourceTrackerSP