Home
last modified time | relevance | path

Searched full:symbolname (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm/lib/Support/
DDynamicLibrary.cpp30 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()
127 //lt_ptr ptr = lt_dlsym(*I, symbolName); in SearchForAddressOfSymbol()
128 void *ptr = dlsym(*I, symbolName); in SearchForAddressOfSymbol()
[all …]
DSearchForAddressOfSpecialSymbol.cpp20 static void *DoSearch(const char* symbolName) { in DoSearch() argument
22 extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM in DoSearch()
55 void *SearchForAddressOfSpecialSymbol(const char* symbolName) { in SearchForAddressOfSpecialSymbol() argument
56 return DoSearch(symbolName); in SearchForAddressOfSpecialSymbol()
/external/swiftshader/third_party/LLVM/lib/Support/
DDynamicLibrary.cpp45 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, in AddSymbol() argument
50 (*ExplicitSymbols)[symbolName] = symbolValue; in AddSymbol()
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
104 return dlsym(Data, symbolName); in getAddressOfSymbol()
118 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
125 void *SearchForAddressOfSpecialSymbol(const char* symbolName);
128 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { in SearchForAddressOfSymbol() argument
133 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName); in SearchForAddressOfSymbol()
144 //lt_ptr ptr = lt_dlsym(*I, symbolName); in SearchForAddressOfSymbol()
145 void *ptr = dlsym(*I, symbolName); in SearchForAddressOfSymbol()
[all …]
DSearchForAddressOfSpecialSymbol.cpp20 static void *DoSearch(const char* symbolName) { in DoSearch() argument
22 extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM in DoSearch()
55 void *SearchForAddressOfSpecialSymbol(const char* symbolName) { in SearchForAddressOfSpecialSymbol() argument
56 return DoSearch(symbolName); in SearchForAddressOfSpecialSymbol()
/external/boringssl/src/util/fipstools/
Ddelocate.peg30 GlobalDirective <- (".global" / ".globl") WS SymbolName
43 … (Offset / LocalSymbol / SymbolName / Dot) WS? Operator WS? (Offset / LocalSymbol / SymbolName) /
45 SymbolName Offset /
46 SymbolName TCMarker?
53 Label <- (LocalSymbol / LocalLabel / SymbolName) ':'
54 SymbolName <- [[A-Z._]][[A-Z.0-9$_]]*
75 SymbolRef <- (Offset* '+')? (LocalSymbol / SymbolName) Offset* ('@' Section Offset*)?
/external/llvm/include/llvm/Support/
DDynamicLibrary.h52 /// Searches through the library for the symbol \p symbolName. If it is
58 void *getAddressOfSymbol(const char *symbolName);
82 /// libraries for the symbol \p symbolName. If it is found, the address of
88 static void *SearchForAddressOfSymbol(const char *symbolName);
91 static void *SearchForAddressOfSymbol(const std::string &symbolName) { in SearchForAddressOfSymbol() argument
92 return SearchForAddressOfSymbol(symbolName.c_str()); in SearchForAddressOfSymbol()
95 /// This functions permanently adds the symbol \p symbolName with the
99 static void AddSymbol(StringRef symbolName, void *symbolValue);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDynamicLibrary.h48 /// Searches through the library for the symbol \p symbolName. If it is
54 void *getAddressOfSymbol(const char *symbolName);
78 /// libraries for the symbol \p symbolName. If it is found, the address of
84 static void *SearchForAddressOfSymbol(const char *symbolName);
87 static void *SearchForAddressOfSymbol(const std::string &symbolName) { in SearchForAddressOfSymbol() argument
88 return SearchForAddressOfSymbol(symbolName.c_str()); in SearchForAddressOfSymbol()
91 /// This functions permanently adds the symbol \p symbolName with the
95 static void AddSymbol(StringRef symbolName, void *symbolValue);
/external/llvm/lib/Support/Windows/
DDynamicLibrary.inc126 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
131 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName);
141 FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName);
149 if (!strcmp(symbolName, #SYM)) \
152 if (!strcmp(symbolName, #SYMFROM)) \
157 if (!strcmp(symbolName, #SYM)) \
174 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
178 return SearchForAddressOfSymbol(symbolName);
179 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DDynamicLibrary.inc116 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
121 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName);
131 FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName);
139 if (!strcmp(symbolName, #SYM)) return (void*)&SYM;
141 if (!strcmp(symbolName, #SYMFROM)) return (void*)&SYMTO;
154 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
158 return SearchForAddressOfSymbol(symbolName);
159 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/deqp/framework/delibs/deutil/
DdeDynamicLibrary.c60 deFunctionPtr deDynamicLibrary_getFunction (const deDynamicLibrary* library, const char* symbolName) in deDynamicLibrary_getFunction() argument
69 DE_ASSERT(library && library->libHandle && symbolName); in deDynamicLibrary_getFunction()
70 ptr.objPtr = dlsym(library->libHandle, symbolName); in deDynamicLibrary_getFunction()
109 deFunctionPtr deDynamicLibrary_getFunction (const deDynamicLibrary* library, const char* symbolName) in deDynamicLibrary_getFunction() argument
111 DE_ASSERT(library && library->handle && symbolName); in deDynamicLibrary_getFunction()
112 return (deFunctionPtr)GetProcAddress(library->handle, symbolName); in deDynamicLibrary_getFunction()
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc62 char symbolName[500]; in CompareToNM() local
64 fscanf(fd, "%s %c %s", oneNMAddr, &symbolType, symbolName); in CompareToNM()
70 symbolNames[0] = (const char*)symbolName; in CompareToNM()
74 if (!IsSymbolMoreThanOnceInDyld(symbolName)) { in CompareToNM()
82 bool BreakpadNlistTest::IsSymbolMoreThanOnceInDyld(const char *symbolName) { in IsSymbolMoreThanOnceInDyld() argument
99 if (!strcmp(multipleSymbols[i], symbolName)) { in IsSymbolMoreThanOnceInDyld()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp433 StringRef demanglePE32ExternCFunc(StringRef SymbolName) { in demanglePE32ExternCFunc() argument
435 char Front = SymbolName.empty() ? '\0' : SymbolName[0]; in demanglePE32ExternCFunc()
437 SymbolName = SymbolName.drop_front(); in demanglePE32ExternCFunc()
441 size_t AtPos = SymbolName.rfind('@'); in demanglePE32ExternCFunc()
443 std::all_of(SymbolName.begin() + AtPos + 1, SymbolName.end(), in demanglePE32ExternCFunc()
445 SymbolName = SymbolName.substr(0, AtPos); in demanglePE32ExternCFunc()
450 if (SymbolName.endswith("@")) in demanglePE32ExternCFunc()
451 SymbolName = SymbolName.drop_back(); in demanglePE32ExternCFunc()
453 return SymbolName; in demanglePE32ExternCFunc()
DSymbolizableObjectFile.cpp148 StringRef SymbolName = *SymbolNameOrErr; in addSymbol() local
150 if (Module->isMachO() && SymbolName.size() > 0 && SymbolName[0] == '_') in addSymbol()
151 SymbolName = SymbolName.drop_front(); in addSymbol()
156 M.insert(std::make_pair(SD, SymbolName)); in addSymbol()
/external/llvm/test/Object/Inputs/COFF/
Dx86-64.yaml15 SymbolName: L.str
20 SymbolName: puts
25 SymbolName: SomeOtherFunction
41 SymbolName: '??__Ex@@YAXXZ'
Di386.yaml16 SymbolName: L_.str
21 SymbolName: _puts
26 SymbolName: _SomeOtherFunction
/external/llvm/include/llvm-c/
DSupport.h45 * libraries for the symbol \p symbolName. If it is found, the address of
50 void *LLVMSearchForAddressOfSymbol(const char *symbolName);
53 * This functions permanently adds the symbol \p symbolName with the
59 void LLVMAddSymbol(const char *symbolName, void *symbolValue);
/external/swiftshader/third_party/llvm-subzero/include/llvm-c/
DSupport.h45 * libraries for the symbol \p symbolName. If it is found, the address of
50 void *LLVMSearchForAddressOfSymbol(const char *symbolName);
53 * This functions permanently adds the symbol \p symbolName with the
59 void LLVMAddSymbol(const char *symbolName, void *symbolValue);
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp792 Rel.SymbolName = nullptr; in findPPC64TOCSection()
1161 if (Value.SymbolName) in processSimpleRelocation()
1162 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
1262 Value.SymbolName = TargetName.data(); in processRelocationRef()
1269 if (!Value.SymbolName) in processRelocationRef()
1270 Value.SymbolName = ""; in processRelocationRef()
1316 if (Value.SymbolName) { in processRelocationRef()
1317 addRelocationForSymbol(REmovz_g3, Value.SymbolName); in processRelocationRef()
1318 addRelocationForSymbol(REmovk_g2, Value.SymbolName); in processRelocationRef()
1319 addRelocationForSymbol(REmovk_g1, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldImpl.h182 const char *SymbolName; variable
184 SymbolName(nullptr) {} in RelocationValueRef()
188 Addend == Other.Addend && SymbolName == Other.SymbolName;
197 return SymbolName < Other.SymbolName;
376 void addRelocationForSymbol(const RelocationEntry &RE, StringRef SymbolName);
DRuntimeDyldChecker.cpp813 StringRef FileName, StringRef SectionName, StringRef SymbolName, in getStubAddrFor() argument
827 auto StubOffsetItr = SymbolStubs.find(SymbolName); in getStubAddrFor()
830 ("Stub for symbol '" + SymbolName + "' not found. " in getStubAddrFor()
831 "If '" + SymbolName + "' is an internal symbol this " in getStubAddrFor()
883 std::string SymbolName = ""; in registerStubMap() local
885 if (StubMapEntry.first.SymbolName) in registerStubMap()
886 SymbolName = StubMapEntry.first.SymbolName; in registerStubMap()
895 SymbolName = GSTEntry.first(); in registerStubMap()
901 if (SymbolName != "") in registerStubMap()
902 Stubs[FileName][SectionName].StubOffsets[SymbolName] = in registerStubMap()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindings.cpp36 const char *SymbolName) { in LLVMOrcGetMangledSymbol() argument
38 std::string Mangled = J.mangle(SymbolName); in LLVMOrcGetMangledSymbol()
91 const char *SymbolName) { in LLVMOrcGetSymbolAddress() argument
93 auto Sym = J.findSymbol(SymbolName, true); in LLVMOrcGetSymbolAddress()
/external/swiftshader/third_party/LLVM/test/MC/COFF/
Dsymbol-fragment-offset.s71 // CHECK: SymbolName = .data
77 // CHECK: SymbolName = _printf
83 // CHECK: SymbolName = .data
89 // CHECK: SymbolName = _puts
95 // CHECK: SymbolName = .data
101 // CHECK: SymbolName = _puts
Ddiff.s32 // CHECK-NEXT: SymbolName = _foobar
38 // CHECK-NEXT: SymbolName = .text
44 // CHECK-NEXT: SymbolName = .text
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.h34 virtual void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) = 0;
54 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override;
90 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOX86_64.h78 if (Value.SymbolName) in processRelocationRef()
79 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
146 if (Value.SymbolName) in processGOTRelocation()
147 addRelocationForSymbol(GOTRE, Value.SymbolName); in processGOTRelocation()

1234