|
LLVM
7.0.0
|
A MaterializationUnit represents a set of symbol definitions that can be materialized as a group, or individually discarded (when overriding definitions are encountered). More...
#include "llvm/ExecutionEngine/Orc/Core.h"
Public Member Functions | |
| MaterializationUnit (SymbolFlagsMap InitalSymbolFlags) | |
| virtual | ~MaterializationUnit () |
| const SymbolFlagsMap & | getSymbols () const |
| Return the set of symbols that this source provides. More... | |
| void | doMaterialize (VSO &V) |
| Called by materialization dispatchers (see ExecutionSession::DispatchMaterializationFunction) to trigger materialization of this MaterializationUnit. More... | |
| void | doDiscard (const VSO &V, SymbolStringPtr Name) |
| Called by VSOs to notify MaterializationUnits that the given symbol has been overridden. More... | |
Protected Attributes | |
| SymbolFlagsMap | SymbolFlags |
A MaterializationUnit represents a set of symbol definitions that can be materialized as a group, or individually discarded (when overriding definitions are encountered).
MaterializationUnits are used when providing lazy definitions of symbols to VSOs. The VSO will call materialize when the address of a symbol is requested via the lookup method. The VSO will call discard if a stronger definition is added or already present.
|
inline |
|
inlinevirtual |
|
inline |
Called by VSOs to notify MaterializationUnits that the given symbol has been overridden.
Definition at line 224 of file Core.h.
Referenced by llvm::orc::VSO::dump().
|
inline |
Called by materialization dispatchers (see ExecutionSession::DispatchMaterializationFunction) to trigger materialization of this MaterializationUnit.
|
inline |
Return the set of symbols that this source provides.
Definition at line 213 of file Core.h.
Referenced by llvm::orc::VSO::dump().
|
protected |
Definition at line 230 of file Core.h.
Referenced by llvm::orc::BasicObjectLayerMaterializationUnit::BasicObjectLayerMaterializationUnit(), and llvm::orc::IRMaterializationUnit::IRMaterializationUnit().
1.8.13