LLVM
8.0.1
|
A MaterializationUnit implementation for pre-existing absolute symbols. More...
#include "llvm/ExecutionEngine/Orc/Core.h"
Public Member Functions | |
AbsoluteSymbolsMaterializationUnit (SymbolMap Symbols, VModuleKey K) | |
StringRef | getName () const override |
Return the name of this materialization unit. More... | |
Public Member Functions inherited from llvm::orc::MaterializationUnit | |
MaterializationUnit (SymbolFlagsMap InitalSymbolFlags, VModuleKey K) | |
virtual | ~MaterializationUnit () |
const SymbolFlagsMap & | getSymbols () const |
Return the set of symbols that this source provides. More... | |
void | doMaterialize (JITDylib &JD) |
Called by materialization dispatchers (see ExecutionSession::DispatchMaterializationFunction) to trigger materialization of this MaterializationUnit. More... | |
void | doDiscard (const JITDylib &JD, const SymbolStringPtr &Name) |
Called by JITDylibs to notify MaterializationUnits that the given symbol has been overridden. More... | |
Additional Inherited Members | |
Protected Attributes inherited from llvm::orc::MaterializationUnit | |
SymbolFlagsMap | SymbolFlags |
VModuleKey | K |
A MaterializationUnit implementation for pre-existing absolute symbols.
All symbols will be resolved and marked ready as soon as the unit is materialized.
llvm::orc::AbsoluteSymbolsMaterializationUnit::AbsoluteSymbolsMaterializationUnit | ( | SymbolMap | Symbols, |
VModuleKey | K | ||
) |
|
overridevirtual |
Return the name of this materialization unit.
Useful for debugging output.
Implements llvm::orc::MaterializationUnit.
Definition at line 507 of file Core.cpp.
References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), llvm::orc::MaterializationResponsibility::emit(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::erase(), and llvm::orc::MaterializationResponsibility::resolve().