LLVM 18.0.0git
|
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. | |
![]() | |
virtual | ~DefinitionGenerator () |
virtual Error | tryToGenerate (LookupState &LS, LookupKind K, JITDylib &JD, JITDylibLookupFlags JDLookupFlags, const SymbolLookupSet &LookupSet)=0 |
DefinitionGenerators should override this method to insert new definitions into the parent JITDylib. | |
Definition at line 281 of file OrcV2CBindings.cpp.
|
inline |
Definition at line 283 of file OrcV2CBindings.cpp.
|
inline |
Definition at line 288 of file OrcV2CBindings.cpp.
|
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(), Name, llvm::orc::OrcV2CAPIHelper::resetLookupState(), llvm::orc::SymbolLookupSet::size(), llvm::unwrap(), and llvm::wrap().