Lines Matching refs:symbolName
30 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, in AddSymbol() argument
33 (*ExplicitSymbols)[symbolName] = symbolValue; in AddSymbol()
84 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
87 return dlsym(Data, symbolName); in getAddressOfSymbol()
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
108 void *SearchForAddressOfSpecialSymbol(const char* symbolName);
111 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { in SearchForAddressOfSymbol() argument
116 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName); in SearchForAddressOfSymbol()
128 void *ptr = dlsym(*I, symbolName); in SearchForAddressOfSymbol()
136 if (void *Result = llvm::SearchForAddressOfSpecialSymbol(symbolName)) in SearchForAddressOfSymbol()
141 if (!strcmp(symbolName, #SYM)) return &SYM in SearchForAddressOfSymbol()
182 void *LLVMSearchForAddressOfSymbol(const char *symbolName) { in LLVMSearchForAddressOfSymbol() argument
183 return llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(symbolName); in LLVMSearchForAddressOfSymbol()
186 void LLVMAddSymbol(const char *symbolName, void *symbolValue) { in LLVMAddSymbol() argument
187 return llvm::sys::DynamicLibrary::AddSymbol(symbolName, symbolValue); in LLVMAddSymbol()