LLVM 24.0.0git
LLVMOrcLazyCallThroughManagerRef::OrcCAPIMaterializationUnit Class Reference
Inheritance diagram for LLVMOrcLazyCallThroughManagerRef::OrcCAPIMaterializationUnit:
[legend]

Public Member Functions

 OrcCAPIMaterializationUnit (std::string Name, SymbolFlagsMap InitialSymbolFlags, SymbolStringPtr InitSymbol, void *Ctx, LLVMOrcMaterializationUnitMaterializeFunction Materialize, LLVMOrcMaterializationUnitDiscardFunction Discard, LLVMOrcMaterializationUnitDestroyFunction Destroy)
 ~OrcCAPIMaterializationUnit () override
StringRef getName () const override
 Return the name of this materialization unit.
void materialize (std::unique_ptr< MaterializationResponsibility > R) override
 Implementations of this method should materialize all symbols in the materialzation unit, except for those that have been previously discarded.
Public Member Functions inherited from llvm::orc::MaterializationUnit
 MaterializationUnit (Interface I)
virtual ~MaterializationUnit ()=default
const SymbolFlagsMap & getSymbols () const
 Return the set of symbols that this source provides.
const SymbolStringPtr & getInitializerSymbol () const
 Returns the initialization symbol for this MaterializationUnit (if any).
void doDiscard (const JITDylib &JD, const SymbolStringPtr &Name)
 Called by JITDylibs to notify MaterializationUnits that the given symbol has been overridden.

Additional Inherited Members

Static Public Attributes inherited from llvm::orc::MaterializationUnit
static char ID
Protected Attributes inherited from llvm::orc::MaterializationUnit
SymbolFlagsMap SymbolFlags
SymbolStringPtr InitSymbol

Detailed Description

Definition at line 84 of file OrcV2CBindings.cpp.

Constructor & Destructor Documentation

◆ OrcCAPIMaterializationUnit()

LLVMOrcLazyCallThroughManagerRef::OrcCAPIMaterializationUnit::OrcCAPIMaterializationUnit ( std::string Name,
SymbolFlagsMap InitialSymbolFlags,
SymbolStringPtr InitSymbol,
void * Ctx,
LLVMOrcMaterializationUnitMaterializeFunction Materialize,
LLVMOrcMaterializationUnitDiscardFunction Discard,
LLVMOrcMaterializationUnitDestroyFunction Destroy )
inline

◆ ~OrcCAPIMaterializationUnit()

LLVMOrcLazyCallThroughManagerRef::OrcCAPIMaterializationUnit::~OrcCAPIMaterializationUnit ( )
inlineoverride

Definition at line 97 of file OrcV2CBindings.cpp.

Member Function Documentation

◆ getName()

StringRef LLVMOrcLazyCallThroughManagerRef::OrcCAPIMaterializationUnit::getName ( ) const
inlineoverridevirtual

Return the name of this materialization unit.

Useful for debugging output.

Implements llvm::orc::MaterializationUnit.

Definition at line 102 of file OrcV2CBindings.cpp.

◆ materialize()

void LLVMOrcLazyCallThroughManagerRef::OrcCAPIMaterializationUnit::materialize ( std::unique_ptr< MaterializationResponsibility > R)
inlineoverridevirtual

Implementations of this method should materialize all symbols in the materialzation unit, except for those that have been previously discarded.

Implements llvm::orc::MaterializationUnit.

Definition at line 104 of file OrcV2CBindings.cpp.

References llvm::wrap().


The documentation for this class was generated from the following file: