LLVM  15.0.0git
Public Member Functions | List of all members
llvm::orc::CAPIDefinitionGenerator Class Referencefinal
Inheritance diagram for llvm::orc::CAPIDefinitionGenerator:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::CAPIDefinitionGenerator:
Collaboration graph
[legend]

Public Member Functions

 CAPIDefinitionGenerator (LLVMOrcDisposeCAPIDefinitionGeneratorFunction Dispose, void *Ctx, LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction TryToGenerate)
 
 ~CAPIDefinitionGenerator ()
 
Error tryToGenerate (LookupState &LS, LookupKind K, JITDylib &JD, JITDylibLookupFlags JDLookupFlags, const SymbolLookupSet &LookupSet) override
 DefinitionGenerators should override this method to insert new definitions into the parent JITDylib. More...
 
- Public Member Functions inherited from llvm::orc::DefinitionGenerator
virtual ~DefinitionGenerator ()
 

Detailed Description

Definition at line 281 of file OrcV2CBindings.cpp.

Constructor & Destructor Documentation

◆ CAPIDefinitionGenerator()

llvm::orc::CAPIDefinitionGenerator::CAPIDefinitionGenerator ( LLVMOrcDisposeCAPIDefinitionGeneratorFunction  Dispose,
void *  Ctx,
LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction  TryToGenerate 
)
inline

Definition at line 283 of file OrcV2CBindings.cpp.

◆ ~CAPIDefinitionGenerator()

llvm::orc::CAPIDefinitionGenerator::~CAPIDefinitionGenerator ( )
inline

Definition at line 288 of file OrcV2CBindings.cpp.

Member Function Documentation

◆ tryToGenerate()

Error llvm::orc::CAPIDefinitionGenerator::tryToGenerate ( LookupState LS,
LookupKind  K,
JITDylib JD,
JITDylibLookupFlags  JDLookupFlags,
const SymbolLookupSet LookupSet 
)
inlineoverridevirtual

DefinitionGenerators should override this method to insert new definitions into the parent JITDylib.

K specifies the kind of this lookup. JD specifies the target JITDylib being searched, and JDLookupFlags specifies whether the search should match against hidden symbols. Finally, Symbols describes the set of unresolved symbols and their associated lookup flags.

Implements llvm::orc::DefinitionGenerator.

Definition at line 293 of file OrcV2CBindings.cpp.

References llvm::orc::OrcV2CAPIHelper::extractLookupState(), llvm::orc::OrcV2CAPIHelper::getRawPoolEntryPtr(), llvm::AArch64CC::LS, llvm::AArch64_AM::LSR, llvm::orc::SymbolLookupSet::size(), and llvm::wrap().


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