Lines Matching refs:symbolName
45 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName,
50 (*ExplicitSymbols)[symbolName] = symbolValue;
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
104 return dlsym(Data, symbolName);
118 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
125 void *SearchForAddressOfSpecialSymbol(const char* symbolName);
128 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) {
133 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName);
144 //lt_ptr ptr = lt_dlsym(*I, symbolName);
145 void *ptr = dlsym(*I, symbolName);
153 if (void *Result = llvm::SearchForAddressOfSpecialSymbol(symbolName))
158 if (!strcmp(symbolName, #SYM)) return &SYM