Home
last modified time | relevance | path

Searched refs:SymbolName (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp392 static StringRef demanglePE32ExternCFunc(StringRef SymbolName) { in demanglePE32ExternCFunc() argument
394 char Front = SymbolName.empty() ? '\0' : SymbolName[0]; in demanglePE32ExternCFunc()
396 SymbolName = SymbolName.drop_front(); in demanglePE32ExternCFunc()
400 size_t AtPos = SymbolName.rfind('@'); in demanglePE32ExternCFunc()
402 std::all_of(SymbolName.begin() + AtPos + 1, SymbolName.end(), in demanglePE32ExternCFunc()
404 SymbolName = SymbolName.substr(0, AtPos); in demanglePE32ExternCFunc()
409 if (SymbolName.endswith("@")) in demanglePE32ExternCFunc()
410 SymbolName = SymbolName.drop_back(); in demanglePE32ExternCFunc()
412 return SymbolName; in demanglePE32ExternCFunc()
DSymbolizableObjectFile.cpp144 StringRef SymbolName = *SymbolNameOrErr; in addSymbol() local
146 if (Module->isMachO() && SymbolName.size() > 0 && SymbolName[0] == '_') in addSymbol()
147 SymbolName = SymbolName.drop_front(); in addSymbol()
152 M.insert(std::make_pair(SD, SymbolName)); in addSymbol()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp792 Rel.SymbolName = nullptr; in findPPC64TOCSection()
1137 if (Value.SymbolName) in processSimpleRelocation()
1138 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
1217 Value.SymbolName = TargetName.data(); in processRelocationRef()
1224 if (!Value.SymbolName) in processRelocationRef()
1225 Value.SymbolName = ""; in processRelocationRef()
1271 if (Value.SymbolName) { in processRelocationRef()
1272 addRelocationForSymbol(REmovz_g3, Value.SymbolName); in processRelocationRef()
1273 addRelocationForSymbol(REmovk_g2, Value.SymbolName); in processRelocationRef()
1274 addRelocationForSymbol(REmovk_g1, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldImpl.h188 const char *SymbolName; variable
190 SymbolName(nullptr) {} in RelocationValueRef()
194 Addend == Other.Addend && SymbolName == Other.SymbolName;
203 return SymbolName < Other.SymbolName;
386 void addRelocationForSymbol(const RelocationEntry &RE, StringRef SymbolName);
DRuntimeDyldChecker.cpp811 StringRef FileName, StringRef SectionName, StringRef SymbolName, in getStubAddrFor() argument
825 auto StubOffsetItr = SymbolStubs.find(SymbolName); in getStubAddrFor()
828 ("Stub for symbol '" + SymbolName + "' not found. " in getStubAddrFor()
829 "If '" + SymbolName + "' is an internal symbol this " in getStubAddrFor()
881 std::string SymbolName = ""; in registerStubMap() local
883 if (StubMapEntry.first.SymbolName) in registerStubMap()
884 SymbolName = StubMapEntry.first.SymbolName; in registerStubMap()
893 SymbolName = GSTEntry.first(); in registerStubMap()
899 if (SymbolName != "") in registerStubMap()
900 Stubs[FileName][SectionName].StubOffsets[SymbolName] = in registerStubMap()
DRuntimeDyld.cpp677 StringRef SymbolName) { in addRelocationForSymbol() argument
681 RTDyldSymbolTable::const_iterator Loc = GlobalSymbolTable.find(SymbolName); in addRelocationForSymbol()
683 ExternalSymbolRelocations[SymbolName].push_back(RE); in addRelocationForSymbol()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindings.cpp32 const char *SymbolName) { in LLVMOrcGetMangledSymbol() argument
34 std::string Mangled = J.mangle(SymbolName); in LLVMOrcGetMangledSymbol()
89 const char *SymbolName) { in LLVMOrcGetSymbolAddress() argument
91 auto Sym = J.findSymbol(SymbolName, true); in LLVMOrcGetSymbolAddress()
/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;
DAMDGPUTargetStreamer.cpp224 void AMDGPUTargetAsmStreamer::EmitAMDGPUSymbolType(StringRef SymbolName, in EmitAMDGPUSymbolType() argument
229 OS << "\t.amdgpu_hsa_kernel " << SymbolName << '\n' ; in EmitAMDGPUSymbolType()
323 void AMDGPUTargetELFStreamer::EmitAMDGPUSymbolType(StringRef SymbolName, in EmitAMDGPUSymbolType() argument
326 getStreamer().getContext().getOrCreateSymbol(SymbolName)); in EmitAMDGPUSymbolType()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOX86_64.h64 if (Value.SymbolName) in processRelocationRef()
65 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
134 if (Value.SymbolName) in processGOTRelocation()
135 addRelocationForSymbol(GOTRE, Value.SymbolName); in processGOTRelocation()
DRuntimeDyldMachOARM.h85 if (Value.SymbolName) in processRelocationRef()
86 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
192 if (Value.SymbolName) in processBranchRelocation()
193 addRelocationForSymbol(StubRE, Value.SymbolName); in processBranchRelocation()
DRuntimeDyldMachOAArch64.h294 if (Value.SymbolName) in processRelocationRef()
295 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
390 if (Value.SymbolName) in processGOTRelocation()
391 addRelocationForSymbol(GOTRE, Value.SymbolName); in processGOTRelocation()
DRuntimeDyldMachOI386.h74 if (Value.SymbolName) in processRelocationRef()
75 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
/external/llvm/tools/llvm-pdbdump/
DLinePrinter.cpp74 bool LinePrinter::IsSymbolExcluded(llvm::StringRef SymbolName) { in IsSymbolExcluded() argument
75 return IsItemExcluded(SymbolName, IncludeSymbolFilters, ExcludeSymbolFilters); in IsSymbolExcluded()
DLinePrinter.h36 bool IsSymbolExcluded(llvm::StringRef SymbolName);
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp831 StringRef SymbolName; in printRelocation() local
837 SymbolName = *SymbolNameOrErr; in printRelocation()
844 W.printString("Symbol", SymbolName.empty() ? "-" : SymbolName); in printRelocation()
849 << " " << (SymbolName.empty() ? "-" : SymbolName) in printRelocation()
892 StringRef SymbolName; in printSymbol() local
893 if (Obj->getSymbolName(Symbol, SymbolName)) in printSymbol()
894 SymbolName = ""; in printSymbol()
902 W.printString("Name", SymbolName); in printSymbol()
DELFDumper.cpp450 StringRef SymbolName = errorOrDefault(Symbol->getName(StrTable)); in getFullSymbolName() local
452 return SymbolName; in getFullSymbolName()
454 std::string FullSymbolName(SymbolName); in getFullSymbolName()
1167 StringRef SymbolName; in printDynamicRelocations() local
1170 SymbolName = errorOrDefault(Sym->getName(DynamicStringTable)); in printDynamicRelocations()
1175 W.printString("Symbol", SymbolName.size() > 0 ? SymbolName : "-"); in printDynamicRelocations()
1181 << (SymbolName.size() > 0 ? SymbolName : "-") << " " in printDynamicRelocations()
DMachODumper.cpp606 StringRef SymbolName; in printSymbol() local
608 SymbolName = *SymbolNameOrErr; in printSymbol()
621 W.printNumber("Name", SymbolName, MOSymbol.StringIndex); in printSymbol()
/external/llvm/test/Object/
Dobj2yaml.test21 COFF-I386-NEXT: SymbolName: L_.str
25 COFF-I386-NEXT: SymbolName: _puts
29 COFF-I386-NEXT: SymbolName: _SomeOtherFunction
104 COFF-X86-64-NEXT: SymbolName: L.str
108 COFF-X86-64-NEXT: SymbolName: puts
112 COFF-X86-64-NEXT: SymbolName: SomeOtherFunction
127 COFF-X86-64-NEXT: SymbolName: '??__Ex@@YAXXZ'
/external/llvm/include/llvm-c/
DOrcBindings.h123 const char *SymbolName);
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h175 const char *SymbolName; // For MO_ExternalSymbol. member
468 return Contents.OffsetedInfo.Val.SymbolName; in getSymbolName()
668 Op.Contents.OffsetedInfo.Val.SymbolName = SymName;
/external/llvm/tools/dsymutil/
DDebugMap.cpp69 DebugMapObject::lookupSymbol(StringRef SymbolName) const { in lookupSymbol()
70 StringMap<SymbolMapping>::const_iterator Sym = Symbols.find(SymbolName); in lookupSymbol()
DDebugMap.h140 const DebugMapEntry *lookupSymbol(StringRef SymbolName) const;
/external/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp397 StringRef SymbolName; in ParseDirectiveDef() local
399 if (getParser().parseIdentifier(SymbolName)) in ParseDirectiveDef()
402 MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName); in ParseDirectiveDef()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp594 const char *SymbolName = nullptr; in GuessSymbolName() local
599 SymbolName = name.data(); in GuessSymbolName()
601 return SymbolName; in GuessSymbolName()
919 const char *SymbolName = nullptr; in DumpInitTermPointerSection() local
928 SymbolName = GuessSymbolName(pointer_value, AddrMap); in DumpInitTermPointerSection()
937 SymbolName = GuessSymbolName(pointer_value, AddrMap); in DumpInitTermPointerSection()
939 if (SymbolName) in DumpInitTermPointerSection()
940 outs() << " " << SymbolName; in DumpInitTermPointerSection()
2433 const char *SymbolName = nullptr; in get_symbol_64() local
2441 SymbolName = Name.data(); in get_symbol_64()
[all …]

12