| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 364 bool isExportedToOtherDSO(const Elf_Sym *ESym) const { in isExportedToOtherDSO() 505 Expected<const Elf_Sym *> SymOrErr = getSymbol(Sym); in getSymbolName() 550 Expected<const Elf_Sym *> SymOrErr = getSymbol(Symb); in getSymbolValueImpl() 576 Expected<const Elf_Sym *> SymOrErr = getSymbol(Symb); in getSymbolAddress() 616 Expected<const Elf_Sym *> SymOrErr = getSymbol(Symb); in getSymbolAlignment() 635 Expected<const Elf_Sym *> SymOrErr = getSymbol(Sym); in getSymbolSize() 648 Expected<const Elf_Sym *> SymOrErr = getSymbol(Symb); in getSymbolBinding() 656 Expected<const Elf_Sym *> SymOrErr = getSymbol(Symb); in getSymbolOther() 664 Expected<const Elf_Sym *> SymOrErr = getSymbol(Symb); in getSymbolELFType() 697 Expected<const Elf_Sym *> SymOrErr = getSymbol(Sym); in getSymbolFlags() [all …]
|
| H A D | ELF.h | 231 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel &Rel, 260 return makeArrayRef<Elf_Sym>(nullptr, nullptr); in symbols() 261 return getSectionContentsAsArray<Elf_Sym>(*Sec); in symbols() 372 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym, 375 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym, 380 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 430 ELFFile<ELFT>::getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms, in getSectionIndex() 447 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, const Elf_Shdr *SymTab, in getSection() 457 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, Elf_Sym_Range Symbols, in getSection() 631 return getEntry<Elf_Sym>(*SymTab, Index); in getRelocationSymbol() [all …]
|
| H A D | ELFTypes.h | 115 using Elf_Sym = typename ELFT::Sym; \
|
| /llvm-project-15.0.7/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 101 using Elf_Sym = typename ELFT::Sym; typedef in llvm::ifs::__anon85c935ce0111::ELFSymbolTableBuilder 107 Elf_Sym S{}; in add() 116 size_t getSize() const { return Symbols.size() * sizeof(Elf_Sym); } in getSize() 119 memcpy(Buf, Symbols.data(), sizeof(Elf_Sym) * Symbols.size()); in write() 123 llvm::SmallVector<Elf_Sym, 8> Symbols; 174 using Elf_Sym = typename ELFT::Sym; typedef in llvm::ifs::__anon85c935ce0111::ELFStubBuilder 313 SymTab.Shdr.sh_entsize = sizeof(Elf_Sym); in fillSymTabShdr() 578 using Elf_Sym = typename ELFT::Sym; in buildStub() typedef 639 Elf_Sym_Range DynSyms = ArrayRef<Elf_Sym>( in buildStub() 640 reinterpret_cast<const Elf_Sym *>(*DynSymPtr), *SymCount); in buildStub()
|
| /llvm-project-15.0.7/compiler-rt/lib/cfi/ |
| H A D | cfi.cpp | 29 typedef ElfW(Sym) Elf_Sym; typedef 34 #define ElfW64_Sym Elf_Sym 37 #define ElfW32_Sym Elf_Sym 257 for (const Elf_Sym *p = (const Elf_Sym *)symtab; (Elf_Addr)p < strtab; in find_cfi_check_in_dso()
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 537 for (const Elf_Sym &Sym : Syms) in printSymbolsHelper() 793 sizeof(Elf_Sym); in getSymbolVersion() 823 Expected<const Elf_Sym *> SymOrErr = in getRelocationTarget() 829 const Elf_Sym *Sym = *SymOrErr; in getRelocationTarget() 837 const Elf_Sym *FirstSym = in getRelocationTarget() 1980 if (Val != sizeof(Elf_Sym)) in parseDynamicTable() 4393 using Elf_Sym = typename ELFT::Sym; in getSymbolForReloc() typedef 6071 const Elf_Sym *Sym = nullptr; in printStackSize() 6367 const Elf_Sym &FirstSym = *cantFail( in printMipsPLT() 6869 ArrayRef<Elf_Sym> Syms; in printVersionSymbolSection() [all …]
|
| H A D | ARMEHABIPrinter.h | 324 typedef typename ET::Sym Elf_Sym; typedef 376 for (const Elf_Sym &Sym : unwrapOrError(FileName, ELF.symbols(Symtab))) { in FunctionAtAddress() 424 const Elf_Sym *Symbol = in FindExceptionTable()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | InputFiles.cpp | 331 using Elf_Sym = typename ELFT::Sym; in init() typedef 1009 ArrayRef<Elf_Sym> eSyms = this->getELFSyms<ELFT>(); in initializeSymbols() 1020 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() 1057 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() 1072 ArrayRef<Elf_Sym> eSyms = this->getELFSyms<ELFT>(); in initializeLocalSymbols() 1074 const Elf_Sym &eSym = eSyms[i]; in initializeLocalSymbols() 1109 ArrayRef<Elf_Sym> eSyms = this->getELFSyms<ELFT>(); in postParse() 1111 const Elf_Sym &eSym = eSyms[i]; in postParse() 1326 using Elf_Sym = typename ELFT::Sym; in parse() typedef 1419 ArrayRef<Elf_Sym> syms = this->getGlobalELFSyms<ELFT>(); in parse() [all …]
|
| H A D | InputFiles.h | 240 uint32_t getSectionIndex(const Elf_Sym &sym) const;
|
| H A D | SyntheticSections.cpp | 1471 addInt(DT_SYMENT, sizeof(Elf_Sym)); in computeContents() 2201 this->entsize = sizeof(Elf_Sym); in SymbolTableSection() 2224 buf += sizeof(Elf_Sym); in writeTo() 2226 auto *eSym = reinterpret_cast<Elf_Sym *>(buf); in writeTo() 2278 auto *eSym = reinterpret_cast<Elf_Sym *>(buf); in writeTo()
|
| H A D | Relocations.cpp | 268 using Elf_Sym = typename ELFT::Sym; in getSymbolsAt() typedef 273 for (const Elf_Sym &s : file.template getGlobalELFSyms<ELFT>()) { in getSymbolsAt()
|
| H A D | SyntheticSections.h | 647 using Elf_Sym = typename ELFT::Sym; variable
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-size/ |
| H A D | invalid-symbol-table-size.test | 2 ## whose sh_size isn't a multiple of the symbol size (sh_size % sizeof(Elf_Sym) != 0).
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/ |
| H A D | invalid-symbol-table-size.test | 2 ## whose sh_size isn't a multiple of the symbol size (sh_size % sizeof(Elf_Sym) != 0).
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-nm/ |
| H A D | invalid-symbol-table-size.test | 2 ## whose sh_size isn't a multiple of the symbol size (sh_size % sizeof(Elf_Sym) != 0).
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | elf2yaml.cpp | 31 ArrayRef<Elf_Sym> SymTable; 43 Expected<StringRef> getUniquedSymbolName(const Elf_Sym *Sym, 61 Error dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, 147 ELFDumper<ELFT>::getUniquedSymbolName(const Elf_Sym *Sym, StringRef StrTable, in getUniquedSymbolName() 708 Error ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol() 758 const Elf_Sym *Sym = *SymOrErr; in dumpRelocation()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 212 std::vector<Elf_Sym> toELFSymbols(ArrayRef<ELFYAML::Symbol> Symbols, 939 std::vector<Elf_Sym> Ret; in toELFSymbols() 944 Elf_Sym &Symbol = Ret[++I]; in toELFSymbols() 1027 std::vector<Elf_Sym> Syms = in initSymtabSectionHeader() 1029 SHeader.sh_size = Syms.size() * sizeof(Elf_Sym); in initSymtabSectionHeader()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.h | 134 using Elf_Sym = typename ELFT::Sym; variable 153 using Elf_Sym = typename ELFT::Sym; variable
|
| H A D | ELFObject.cpp | 102 Sec.EntrySize = sizeof(Elf_Sym); in visit() 812 Elf_Sym *Sym = reinterpret_cast<Elf_Sym *>(Out.getBufferStart() + Sec.Offset); in visit() 1516 for (const typename ELFFile<ELFT>::Elf_Sym &Sym : *Symbols) { in initSymbolTable()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 120 Elf_Sym *sym = const_cast<Elf_Sym *>( in updateSymbolAddress()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | RewriteInstance.cpp | 4453 using ELFSymTy = typename ELFObjectFile<ELFT>::Elf_Sym; in updateELFSymbolTable() 4804 using ELFSymTy = typename ELFObjectFile<ELFT>::Elf_Sym; in patchELFSymTabs()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | dyn-symbols.test | 568 ## The code uses sizeof(Elf_Sym) for an entity size, so it can't be incorrect and
|