LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::sys::DynamicLibrary::HandleSet Class Reference

Public Member Functions

 HandleSet ()=default
 
 ~HandleSet ()
 
HandleList::iterator Find (void *Handle)
 
bool Contains (void *Handle)
 
bool AddLibrary (void *Handle, bool IsProcess=false, bool CanClose=true, bool AllowDuplicates=false)
 
void CloseLibrary (void *Handle)
 
void * LibLookup (const char *Symbol, DynamicLibrary::SearchOrdering Order)
 
void * Lookup (const char *Symbol, DynamicLibrary::SearchOrdering Order)
 

Static Public Member Functions

static void * DLOpen (const char *Filename, std::string *Err)
 
static void DLClose (void *Handle)
 
static void * DLSym (void *Handle, const char *Symbol)
 

Detailed Description

Definition at line 25 of file DynamicLibrary.cpp.

Constructor & Destructor Documentation

◆ HandleSet()

llvm::sys::DynamicLibrary::HandleSet::HandleSet ( )
default

◆ ~HandleSet()

llvm::sys::DynamicLibrary::HandleSet::~HandleSet ( )

Member Function Documentation

◆ AddLibrary()

bool llvm::sys::DynamicLibrary::HandleSet::AddLibrary ( void *  Handle,
bool  IsProcess = false,
bool  CanClose = true,
bool  AllowDuplicates = false 
)
inline

◆ CloseLibrary()

void llvm::sys::DynamicLibrary::HandleSet::CloseLibrary ( void *  Handle)
inline

◆ Contains()

bool llvm::sys::DynamicLibrary::HandleSet::Contains ( void *  Handle)
inline

Definition at line 40 of file DynamicLibrary.cpp.

References llvm::sys::DynamicLibrary::HandleSet::Find().

◆ DLClose()

static void llvm::sys::DynamicLibrary::HandleSet::DLClose ( void *  Handle)
static

◆ DLOpen()

static void * llvm::sys::DynamicLibrary::HandleSet::DLOpen ( const char Filename,
std::string *  Err 
)
static

◆ DLSym()

static void * llvm::sys::DynamicLibrary::HandleSet::DLSym ( void *  Handle,
const char Symbol 
)
static

◆ Find()

HandleList::iterator llvm::sys::DynamicLibrary::HandleSet::Find ( void *  Handle)
inline

◆ LibLookup()

void * llvm::sys::DynamicLibrary::HandleSet::LibLookup ( const char Symbol,
DynamicLibrary::SearchOrdering  Order 
)
inline

◆ Lookup()

void * llvm::sys::DynamicLibrary::HandleSet::Lookup ( const char Symbol,
DynamicLibrary::SearchOrdering  Order 
)
inline

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