LLVM
8.0.1
|
#include "llvm/Support/DynamicLibrary.h"
#include "llvm-c/Support.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Config/config.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include <cstdio>
#include <cstring>
#include <vector>
#include "Unix/DynamicLibrary.inc"
Go to the source code of this file.
Classes | |
class | llvm::sys::DynamicLibrary::HandleSet |
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
Functions | |
void * | llvm::SearchForAddressOfSpecialSymbol (const char *SymbolName) |
LLVMBool | LLVMLoadLibraryPermanently (const char *Filename) |
This function permanently loads the dynamic library at the given path. More... | |
void * | LLVMSearchForAddressOfSymbol (const char *symbolName) |
This function will search through all previously loaded dynamic libraries for the symbol symbolName . More... | |
void | LLVMAddSymbol (const char *symbolName, void *symbolValue) |
This functions permanently adds the symbol symbolName with the value symbolValue . More... | |
This functions permanently adds the symbol symbolName
with the value symbolValue
.
These symbols are searched before any libraries.
Definition at line 214 of file DynamicLibrary.cpp.
References llvm::sys::DynamicLibrary::AddSymbol().
This function permanently loads the dynamic library at the given path.
It is safe to call this function multiple times for the same library.
Definition at line 206 of file DynamicLibrary.cpp.
References llvm::sys::DynamicLibrary::LoadLibraryPermanently().
This function will search through all previously loaded dynamic libraries for the symbol symbolName
.
If it is found, the address of that symbol is returned. If not, null is returned.
Definition at line 210 of file DynamicLibrary.cpp.
References llvm::sys::DynamicLibrary::SearchForAddressOfSymbol().