12#ifndef LLVM_EXECUTIONENGINE_ORC_LAZYOBJECTLINKINGLAYER_H
13#define LLVM_EXECUTIONENGINE_ORC_LAZYOBJECTLINKINGLAYER_H
20class ObjectLinkingLayer;
21class LazyReexportsManager;
22class RedirectableSymbolManager;
43 std::unique_ptr<MemoryBuffer> O,
46 void emit(std::unique_ptr<MaterializationResponsibility> R,
47 std::unique_ptr<MemoryBuffer> O)
override;
Lightweight error class with error context and mandatory checking.
LazyObjectLinkingLayer is an adapter for ObjectLinkingLayer that builds lazy reexports for all functi...
void emit(std::unique_ptr< MaterializationResponsibility > R, std::unique_ptr< MemoryBuffer > O) override
Emit should materialize the given IR.
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.
Interface for Layers that accept object files.
An ObjectLayer implementation built on JITLink.