|
LLVM
4.0.0
|
Holds a set of objects to be allocated/linked as a unit in the JIT. More...
#include <ObjectLinkingLayer.h>
Public Member Functions | |
| LinkedObjectSet ()=default | |
| LinkedObjectSet (const LinkedObjectSet &)=delete | |
| void | operator= (const LinkedObjectSet &)=delete |
| virtual | ~LinkedObjectSet ()=default |
| virtual void | finalize ()=0 |
| virtual JITSymbol::GetAddressFtor | getSymbolMaterializer (std::string Name)=0 |
| virtual void | mapSectionAddress (const void *LocalAddress, JITTargetAddress TargetAddr) const =0 |
| JITSymbol | getSymbol (StringRef Name, bool ExportedSymbolsOnly) |
Protected Attributes | |
| StringMap< JITEvaluatedSymbol > | SymbolTable |
| bool | Finalized = false |
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 47 of file ObjectLinkingLayer.h.
|
default |
|
delete |
|
virtualdefault |
|
pure virtual |
|
inline |
Definition at line 62 of file ObjectLinkingLayer.h.
References Finalized, getSymbolMaterializer(), and SymbolTable.
|
pure virtual |
Referenced by getSymbol().
|
pure virtual |
|
delete |
Definition at line 76 of file ObjectLinkingLayer.h.
Referenced by getSymbol().
|
protected |
Definition at line 75 of file ObjectLinkingLayer.h.
Referenced by getSymbol().
1.8.6