LLVM  10.0.0
Public Member Functions | List of all members
llvm::orc::JITDylib::DefinitionGenerator Class Referenceabstract

Definition generators can be attached to JITDylibs to generate new definitions for otherwise unresolved symbols during lookup. More...

#include "llvm/ExecutionEngine/Orc/Core.h"

Inheritance diagram for llvm::orc::JITDylib::DefinitionGenerator:
[legend]

Public Member Functions

virtual ~DefinitionGenerator ()
 
virtual Error tryToGenerate (LookupKind K, JITDylib &JD, JITDylibLookupFlags JDLookupFlags, const SymbolLookupSet &LookupSet)=0
 DefinitionGenerators should override this method to insert new definitions into the parent JITDylib. More...
 

Detailed Description

Definition generators can be attached to JITDylibs to generate new definitions for otherwise unresolved symbols during lookup.

Definition at line 781 of file Core.h.

Constructor & Destructor Documentation

◆ ~DefinitionGenerator()

llvm::orc::JITDylib::DefinitionGenerator::~DefinitionGenerator ( )
virtual

Definition at line 803 of file Core.cpp.

Member Function Documentation

◆ tryToGenerate()

virtual Error llvm::orc::JITDylib::DefinitionGenerator::tryToGenerate ( LookupKind  K,
JITDylib &  JD,
JITDylibLookupFlags  JDLookupFlags,
const SymbolLookupSet &  LookupSet 
)
pure virtual

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.

Implemented in llvm::orc::ReexportsGenerator, llvm::orc::StaticLibraryDefinitionGenerator, and llvm::orc::DynamicLibrarySearchGenerator.


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