Home
last modified time | relevance | path

Searched refs:Elf_Shdr (Results 1 – 9 of 9) sorted by relevance

/external/llvm/include/llvm/Object/
DELF.h44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef
75 const Elf_Shdr *SectionHeaderTable = nullptr;
82 const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
84 ErrorOr<StringRef> getStringTable(const Elf_Shdr *Section) const;
85 ErrorOr<StringRef> getStringTableForSymtab(const Elf_Shdr &Section) const;
87 ErrorOr<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
89 void VerifyStrTab(const Elf_Shdr *sh) const;
97 const Elf_Shdr *SymTab) const;
112 const Elf_Shdr *section_begin() const;
113 const Elf_Shdr *section_end() const;
[all …]
DELFObjectFile.h195 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef
204 const Elf_Shdr *DotDynSymSec = nullptr; // Dynamic symbol table section.
205 const Elf_Shdr *DotSymtabSec = nullptr; // Symbol table section.
219 const Elf_Shdr *SymTab) const;
251 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection()
255 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toDRI()
267 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr); in toDRI()
274 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter()
275 return reinterpret_cast<const Elf_Shdr *>(Sec.p); in toELFShdrIter()
278 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp25 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anone32646570111::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/swiftshader/third_party/LLVM/lib/Object/
DELFObjectFile.cpp261 typedef Elf_Shdr_Impl<target_endianness, is64Bits> Elf_Shdr; typedef in __anon8294e4d20611::ELFObjectFile
289 typedef SmallVector<const Elf_Shdr*, 1> Sections_t;
291 typedef DenseMap<const Elf_Shdr*, SmallVector<uint32_t, 1> > RelocMap_t;
294 const Elf_Shdr *SectionHeaderTable;
295 const Elf_Shdr *dot_shstrtab_sec; // Section header string table.
296 const Elf_Shdr *dot_strtab_sec; // Symbol header string table.
306 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection()
315 const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
317 const Elf_Shdr *getSection(DataRefImpl index) const;
318 const Elf_Shdr *getSection(uint32_t index) const;
[all …]
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp102 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anonfe6449970311::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/
DARMEHABIPrinter.h310 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr; typedef
316 const Elf_Shdr *Symtab;
329 const Elf_Shdr *FindExceptionTable(unsigned IndexTableIndex,
332 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
333 void PrintExceptionTable(const Elf_Shdr *IT, const Elf_Shdr *EHT,
339 const Elf_Shdr *Symtab) in PrinterContext()
371 const typename object::ELFFile<ET>::Elf_Shdr *
382 for (const Elf_Shdr &Sec : ELF->sections()) { in FindExceptionTable()
386 ErrorOr<const Elf_Shdr *> SymTabOrErr = ELF->getSection(Sec.sh_link); in FindExceptionTable()
388 const Elf_Shdr *SymTab = *SymTabOrErr; in FindExceptionTable()
[all …]
DELFDumper.cpp53 typedef typename ELFO::Elf_Shdr Elf_Shdr; \
132 typedef typename ELFO::Elf_Shdr Elf_Shdr; typedef in __anon07d3185e0111::ELFDumper
165 DynRegionInfo createDRIFrom(const Elf_Shdr *S) { in createDRIFrom()
177 void LoadVersionNeeds(const Elf_Shdr *ec) const;
178 void LoadVersionDefs(const Elf_Shdr *sec) const;
190 const Elf_Shdr *DotSymtabSec = nullptr;
194 const Elf_Shdr *dot_gnu_version_sec = nullptr; // .gnu.version
195 const Elf_Shdr *dot_gnu_version_r_sec = nullptr; // .gnu.version_r
196 const Elf_Shdr *dot_gnu_version_d_sec = nullptr; // .gnu.version_d
236 const Elf_Shdr *getDotSymtabSec() const { return DotSymtabSec; } in getDotSymtabSec()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp38 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef in __anon5796c0730111::DyldELFObject
79 Elf_Shdr *shdr = in updateSectionAddress()
80 const_cast<Elf_Shdr *>(reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in updateSectionAddress()
115 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; in createRTDyldELFObject() typedef
128 Elf_Shdr *shdr = const_cast<Elf_Shdr *>( in createRTDyldELFObject()
129 reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in createRTDyldELFObject()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp493 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getRelocationValueString() typedef
498 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString()
501 const Elf_Shdr *Sec = *SecOrErr; in getRelocationValueString()
502 ErrorOr<const Elf_Shdr *> SymTabOrErr = EF.getSection(Sec->sh_link); in getRelocationValueString()
505 const Elf_Shdr *SymTab = *SymTabOrErr; in getRelocationValueString()
508 ErrorOr<const Elf_Shdr *> StrTabSec = EF.getSection(SymTab->sh_link); in getRelocationValueString()
538 const Elf_Shdr *SymSec = Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString()