LLVM API Documentation
#include "llvm/System/DynamicLibrary.h"#include "llvm/Support/ManagedStatic.h"#include "llvm/Config/config.h"#include <cstdio>#include <cstring>#include <map>#include <vector>#include <dlfcn.h>
Go to the source code of this file.
Defines | |
| #define | EXPLICIT_SYMBOL(SYM) extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM |
| #define | EXPLICIT_SYMBOL(SYM) if (!strcmp(symbolName, #SYM)) return &SYM |
Variables | |
| static std::map< std::string, void * > * | ExplicitSymbols = 0 |
| static std::vector< void * > * | OpenedHandles = 0 |
| #define EXPLICIT_SYMBOL | ( | SYM | ) | if (!strcmp(symbolName, #SYM)) return &SYM |
| #define EXPLICIT_SYMBOL | ( | SYM | ) | extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM |
Referenced by llvm::sys::DynamicLibrary::SearchForAddressOfSymbol().
std::map<std::string, void*>* ExplicitSymbols = 0 [static] |
Definition at line 26 of file DynamicLibrary.cpp.
Referenced by llvm::sys::DynamicLibrary::AddSymbol(), and llvm::sys::DynamicLibrary::SearchForAddressOfSymbol().
std::vector<void *>* OpenedHandles = 0 [static] |
Definition at line 50 of file DynamicLibrary.cpp.
Referenced by llvm::sys::DynamicLibrary::LoadLibraryPermanently(), and llvm::sys::DynamicLibrary::SearchForAddressOfSymbol().