LLVM 20.0.0git
|
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) |
Definition at line 25 of file DynamicLibrary.cpp.
|
default |
llvm::sys::DynamicLibrary::HandleSet::~HandleSet | ( | ) |
|
inline |
Definition at line 44 of file DynamicLibrary.cpp.
References assert(), llvm::sys::DynamicLibrary::HandleSet::DLClose(), llvm::sys::DynamicLibrary::HandleSet::Find(), and LLVM_LIKELY.
|
inline |
Definition at line 73 of file DynamicLibrary.cpp.
References llvm::sys::DynamicLibrary::HandleSet::DLClose(), and llvm::sys::DynamicLibrary::HandleSet::Find().
|
inline |
Definition at line 40 of file DynamicLibrary.cpp.
References llvm::sys::DynamicLibrary::HandleSet::Find().
|
static |
|
inline |
Definition at line 38 of file DynamicLibrary.cpp.
References llvm::find().
Referenced by llvm::sys::DynamicLibrary::HandleSet::AddLibrary(), llvm::sys::DynamicLibrary::HandleSet::CloseLibrary(), and llvm::sys::DynamicLibrary::HandleSet::Contains().
|
inline |
Definition at line 81 of file DynamicLibrary.cpp.
References llvm::sys::DynamicLibrary::HandleSet::DLSym(), Ptr, llvm::reverse(), and llvm::sys::DynamicLibrary::SO_LoadOrder.
Referenced by llvm::sys::DynamicLibrary::HandleSet::Lookup().
|
inline |
Definition at line 96 of file DynamicLibrary.cpp.
References assert(), llvm::sys::DynamicLibrary::HandleSet::DLSym(), llvm::sys::DynamicLibrary::HandleSet::LibLookup(), Ptr, llvm::sys::DynamicLibrary::SO_LoadedFirst, and llvm::sys::DynamicLibrary::SO_LoadedLast.