/external/llvm/include/llvm/Object/ |
D | ELF.h | 44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef 58 typedef iterator_range<const Elf_Shdr *> Elf_Shdr_Range; 70 const Elf_Shdr *SectionHeaderTable = nullptr; 77 const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const; 79 ErrorOr<StringRef> getStringTable(const Elf_Shdr *Section) const; 80 ErrorOr<StringRef> getStringTableForSymtab(const Elf_Shdr &Section) const; 82 ErrorOr<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const; 84 void VerifyStrTab(const Elf_Shdr *sh) const; 92 const Elf_Shdr *SymTab) const; 119 const Elf_Shdr *section_begin() const; [all …]
|
D | ELFObjectFile.h | 186 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef 195 const Elf_Shdr *DotDynSymSec = nullptr; // Dynamic symbol table section. 196 const Elf_Shdr *DotSymtabSec = nullptr; // Symbol table section. 210 const Elf_Shdr *SymTab) const; 241 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection() 245 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toDRI() 257 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr); in toDRI() 264 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 265 return reinterpret_cast<const Elf_Shdr *>(Sec.p); in toELFShdrIter() 268 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 25 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anon675ae2f80111::ELFDumper 31 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, 33 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S); 34 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr, 37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 40 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr); 41 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr); 43 dumpContentSection(const Elf_Shdr *Shdr); 44 ErrorOr<ELFYAML::NoBitsSection *> dumpNoBitsSection(const Elf_Shdr *Shdr); 45 ErrorOr<ELFYAML::Group *> dumpGroup(const Elf_Shdr *Shdr); [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 102 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anon8298e6380311::ELFState 121 bool initSectionHeaders(std::vector<Elf_Shdr> &SHeaders, 123 void initSymtabSectionHeader(Elf_Shdr &SHeader, 125 void initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name, 130 void writeSectionContent(Elf_Shdr &SHeader, 133 bool writeSectionContent(Elf_Shdr &SHeader, 136 bool writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::Group &Group, 138 bool writeSectionContent(Elf_Shdr &SHeader, 178 Header.e_shentsize = sizeof(Elf_Shdr); in initELFHeader() 186 bool ELFState<ELFT>::initSectionHeaders(std::vector<Elf_Shdr> &SHeaders, in initSectionHeaders() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | ARMEHABIPrinter.h | 309 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr; typedef 315 const Elf_Shdr *Symtab; 328 const Elf_Shdr *FindExceptionTable(unsigned IndexTableIndex, 331 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const; 332 void PrintExceptionTable(const Elf_Shdr *IT, const Elf_Shdr *EHT, 338 const Elf_Shdr *Symtab) in PrinterContext() 363 const typename object::ELFFile<ET>::Elf_Shdr * 374 for (const Elf_Shdr &Sec : ELF->sections()) { in FindExceptionTable() 378 ErrorOr<const Elf_Shdr *> SymTabOrErr = ELF->getSection(Sec.sh_link); in FindExceptionTable() 380 const Elf_Shdr *SymTab = *SymTabOrErr; in FindExceptionTable() [all …]
|
D | ELFDumper.cpp | 72 typedef typename ELFO::Elf_Shdr Elf_Shdr; typedef in __anona8d7c19f0111::ELFDumper 104 void printSymbol(const Elf_Sym *Symbol, const Elf_Shdr *SymTab, 107 void printRelocations(const Elf_Shdr *Sec); 108 void printRelocation(Elf_Rela Rel, const Elf_Shdr *SymTab); 128 void LoadVersionNeeds(const Elf_Shdr *ec) const; 129 void LoadVersionDefs(const Elf_Shdr *sec) const; 139 const Elf_Shdr *DotDynSymSec = nullptr; 140 const Elf_Shdr *DotSymtabSec = nullptr; 143 const Elf_Shdr *dot_gnu_version_sec = nullptr; // .gnu.version 144 const Elf_Shdr *dot_gnu_version_r_sec = nullptr; // .gnu.version_r [all …]
|
/external/valgrind/VEX/unused/ |
D | linker.c | 120 #define Elf_Shdr Elf64_Shdr macro 135 #define Elf_Shdr Elf32_Shdr macro 331 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff); in findElfSection() 420 Elf_Shdr* shdr, int shnum, in do_Elf_Rel_relocations() 546 Elf_Shdr* shdr, int shnum, in do_Elf_Rela_relocations() 715 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocResolve_ELF() 769 Elf_Shdr* shdr; in ocVerifyImage_ELF() 828 assert (ehdr->e_shentsize == sizeof(Elf_Shdr)); in ocVerifyImage_ELF() 830 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocVerifyImage_ELF() 959 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocGetNames_ELF() [all …]
|
/external/valgrind/VEX/switchback/ |
D | linker.c | 186 #define Elf_Shdr Elf64_Shdr 201 #define Elf_Shdr Elf32_Shdr 399 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff); 516 Elf_Shdr* shdr, int shnum, 642 Elf_Shdr* shdr, int shnum, 875 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); 929 Elf_Shdr* shdr; 991 assert (ehdr->e_shentsize == sizeof(Elf_Shdr)); 993 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); 1122 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 384 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getRelocationValueString() typedef 389 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() 392 const Elf_Shdr *Sec = *SecOrErr; in getRelocationValueString() 393 ErrorOr<const Elf_Shdr *> SymTabOrErr = EF.getSection(Sec->sh_link); in getRelocationValueString() 396 const Elf_Shdr *SymTab = *SymTabOrErr; in getRelocationValueString() 399 ErrorOr<const Elf_Shdr *> StrTabSec = EF.getSection(SymTab->sh_link); in getRelocationValueString() 429 const Elf_Shdr *SymSec = Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 45 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef in __anone68f9ff40111::DyldELFObject 86 Elf_Shdr *shdr = in updateSectionAddress() 87 const_cast<Elf_Shdr *>(reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in updateSectionAddress() 122 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; in createRTDyldELFObject() typedef 135 Elf_Shdr *shdr = const_cast<Elf_Shdr *>( in createRTDyldELFObject() 136 reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in createRTDyldELFObject()
|