|
LLVM
3.7.0
|
Holds a set of objects to be allocated/linked as a unit in the JIT. More...
#include <ObjectLinkingLayer.h>
Public Member Functions | |
| LinkedObjectSet (RuntimeDyld::MemoryManager &MemMgr, RuntimeDyld::SymbolResolver &Resolver) | |
| virtual | ~LinkedObjectSet () |
| std::unique_ptr < RuntimeDyld::LoadedObjectInfo > | addObject (const object::ObjectFile &Obj) |
| RuntimeDyld::SymbolInfo | getSymbol (StringRef Name) const |
| bool | NeedsFinalization () const |
| virtual void | Finalize ()=0 |
| void | mapSectionAddress (const void *LocalAddress, TargetAddress TargetAddr) |
| void | takeOwnershipOfBuffer (std::unique_ptr< MemoryBuffer > B) |
Protected Types | |
| enum | { Raw, Finalizing, Finalized } |
Protected Attributes | |
| std::unique_ptr< RuntimeDyld > | RTDyld |
| enum llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet:: { ... } | State |
| std::vector< std::unique_ptr < MemoryBuffer > > | OwnedBuffers |
Holds a set of objects to be allocated/linked as a unit in the JIT.
An instance of this class will be created for each set of objects added via JITObjectLayer::addObjectSet. Deleting the instance (via removeObjectSet) frees its memory, removing all symbol definitions that had been provided by this instance. Higher level layers are responsible for taking any action required to handle the missing symbols.
Definition at line 37 of file ObjectLinkingLayer.h.
|
protected |
| Enumerator | |
|---|---|
| Raw | |
| Finalizing | |
| Finalized | |
Definition at line 73 of file ObjectLinkingLayer.h.
|
inline |
Definition at line 41 of file ObjectLinkingLayer.h.
|
inlinevirtual |
Definition at line 46 of file ObjectLinkingLayer.h.
|
inline |
Definition at line 49 of file ObjectLinkingLayer.h.
References RTDyld.
Referenced by llvm::orc::ObjectLinkingLayer< NotifyObjectLoadedT >::addObjectSet().
|
pure virtual |
|
inline |
Definition at line 53 of file ObjectLinkingLayer.h.
References RTDyld.
|
inline |
Definition at line 61 of file ObjectLinkingLayer.h.
|
inline |
Definition at line 57 of file ObjectLinkingLayer.h.
|
inline |
Definition at line 67 of file ObjectLinkingLayer.h.
References OwnedBuffers.
|
protected |
Definition at line 78 of file ObjectLinkingLayer.h.
Referenced by takeOwnershipOfBuffer().
|
protected |
Definition at line 72 of file ObjectLinkingLayer.h.
Referenced by addObject(), getSymbol(), and mapSectionAddress().
| enum { ... } llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet::State |
Referenced by mapSectionAddress(), and NeedsFinalization().
1.8.6