Home
last modified time | relevance | path

Searched refs:st_name (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dsymbol-binding.test48 # Symbol with st_name = 1, binding = 0x3
49 # Symbol with st_name = 9, binding = 0xa
50 # Symbol with st_name = 16, binding = 0xb
51 # Symbol with st_name = 19, binding = 0xf
H A Dbroken-dynamic-reloc.test11 # LLVM-NEXT: warning: '[[FILE]]': unable to get name of the dynamic symbol with index 1: st_name (0…
17 # GNU-NEXT: warning: '[[FILE]]': unable to get name of the dynamic symbol with index 1: st_name (0x…
31 - Symbol: 1 ## Index of a dynamic symbol with a broken st_name.
381 …ning: '[[FILE]]': unable to get name of the dynamic symbol with index 1: st_name (0x1) is past the…
391 …ning: '[[FILE]]': unable to get name of the dynamic symbol with index 1: st_name (0x1) is past the…
H A Ddyn-symbols.test236 ## The Content describes 2 symbols: zero symbol and symbol with st_name == 3.
661 # DYNSTR-INVALID-LLVM-NEXT: warning: '[[FILE]]': st_name (0xffffff00) is past the end of the string…
686 # DYNSTR-INVALID-GNU-NEXT: warning: '[[FILE]]': st_name (0xffffff00) is past the end of the string …
811 # LINK-BROKEN-LLVM-NEXT: warning: '[[FILE]]': st_name (0x0) is past the end of the string table of …
821 # LINK-BROKEN-LLVM-NEXT: warning: '[[FILE]]': st_name (0x1) is past the end of the string table of …
835 # LINK-BROKEN-GNU-NEXT: warning: '[[FILE]]': st_name (0x0) is past the end of the string table of s…
837 # LINK-BROKEN-GNU-NEXT: warning: '[[FILE]]': st_name (0x1) is past the end of the string table of s…
H A Dgroups.test389 ## Check warnings that are reported when the st_name field of the signature symbol goes past the en…
399 # SIGNAME1-WARN: warning: '[[FILE]]': unable to get the name of the symbol with index 2: st_name (0…
H A Dcall-graph-profile.test71 …XT: warning: '[[FILE]]': unable to read the name of symbol with index 2: st_name (0xff) is past th…
/llvm-project-15.0.7/llvm/test/DebugInfo/Symbolize/ELF/
H A Dsymtab-file2.yaml47 ## If st_name of the STT_FILE symbols is invalid, the symbol name is lost as well.
52 # CHECK2: error reading file: st_name (0xffff) is past the end of the string table of size
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp316 idx, st_value, st_size, st_name, st_info, in Dump()
319 strtab_data ? strtab_data->PeekCStr(st_name) : ""); in Dump()
328 if (data.GetU32(offset, &st_name, 1) == nullptr) in Parse()
H A DELFHeader.h227 elf_word st_name; ///< Symbol name string index. member
H A DObjectFileELF.cpp2034 const char *symbol_name = strtab_data.PeekCStr(symbol.st_name); in ParseSymbols()
2501 const char *symbol_name = strtab_data.PeekCStr(symbol.st_name); in ParsePLTRelocations()
/llvm-project-15.0.7/lld/test/ELF/invalid/
H A Dsymbol-name.test5 ## YAML below contains symbol with name offset in st_name
/llvm-project-15.0.7/lld/test/ELF/
H A Drelocatable-symbol-name.s6 # Test that the section symbol has st_name equal to zero. GNU objdump
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dsymbol-empty-name.test18 ## Check we emit a zero in st_name field when a symbol has no name.
/llvm-project-15.0.7/compiler-rt/lib/cfi/
H A Dcfi.cpp262 if (p->st_name >= strsz) break; in find_cfi_check_in_dso()
263 char *name = (char*)(strtab + p->st_name); in find_cfi_check_in_dso()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dsymbol-name.yaml2 ## symbol name indices (st_name values) and symbol names.
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/ELF/AArch64/
H A Dplt.test31 # INVALID_ST_NAME: warning: '[[FILE]]': st_name (0x1234) is past the end of the string table o…
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFTypes.h195 Elf_Word st_name; // Symbol name (index into string table)
206 Elf_Word st_name; // Symbol name (index into string table)
277 uint32_t Offset = this->st_name;
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DELF.h1166 Elf32_Word st_name; // Symbol name (index into string table) member
1186 Elf64_Word st_name; // Symbol name (index into string table) member
/llvm-project-15.0.7/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp108 S.st_name = StNameOffset; in add()
561 Expected<StringRef> SymName = terminatedSubstr(DynStr, RawSym.st_name); in populateSymbols()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DRewriteInstance.cpp4505 ICFSymbol.st_name = in updateELFSymbolTable()
4517 NewColdSym.st_name = in updateELFSymbolTable()
4532 DataMarkSym.st_name = AddToStrTab("$d"); in updateELFSymbolTable()
4538 CodeMarkSym.st_name = AddToStrTab("$x"); in updateELFSymbolTable()
4548 DataMarkSym.st_name = AddToStrTab("$d"); in updateELFSymbolTable()
4554 CodeMarkSym.st_name = AddToStrTab("$x"); in updateELFSymbolTable()
4740 NewSymbol.st_name = AddToStrTab(Function->getOneName()); in updateELFSymbolTable()
4750 NewColdSym.st_name = AddToStrTab( in updateELFSymbolTable()
4768 Symbol.st_name = AddToStrTab(Name); in updateELFSymbolTable()
/llvm-project-15.0.7/lld/ELF/
H A DInputFiles.cpp1090 if (LLVM_UNLIKELY(stringTable.size() <= eSym.st_name)) in initializeLocalSymbols()
1092 StringRef name(stringTable.data() + eSym.st_name); in initializeLocalSymbols()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3402 if (Sym.st_name >= Strings.size()) { in getGroups()
3405 Twine::utohexstr(Sym.st_name) + in getGroups()
3411 return StrTableOrErr->data() + Sym.st_name; in getGroups()
6737 W.printNumber("Name", FullSymbolName, Symbol.st_name); in printSymbol()
7393 W.printNumber("Name", SymName, Sym.st_name); in printMipsGOT()
7442 W.printNumber("Name", SymName, Sym.st_name); in printMipsPLT()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp950 Symbol.st_name = *Sym.StName; in toELFSymbols()
952 Symbol.st_name = Strtab.getOffset(ELFYAML::dropUniqueSuffix(Sym.Name)); in toELFSymbols()
/llvm-project-15.0.7/llvm/test/Object/
H A Dinvalid.test390 # INVALID-SYM-NAME: warning: '[[FILE]]': st_name (0x1) is past the end of the string table of size …
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/
H A Drtl.cpp1658 char *N = elf_strptr(Elf, SectionStrtabIndex, Symtab[I].st_name); in elfLookup()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp815 Sym->st_name = Symbol->NameIndex; in visit()

12