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

/external/llvm/include/llvm/Object/
H A DELF.h44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef in class:llvm::object::ELFFile
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_en
[all...]
H A DELFObjectFile.h195 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in class:llvm::object::ELFObjectFile
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 {
255 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const {
267 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr);
274 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const {
275 return reinterpret_cast<const Elf_Shdr *>(Se
[all...]
/external/llvm/tools/obj2yaml/
H A Delf2yaml.cpp25 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in class:__anon14891::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 *Shd
[all...]
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp102 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in class:__anon14903::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);
[all...]
/external/swiftshader/third_party/LLVM/lib/Object/
H A DELFObjectFile.cpp261 typedef Elf_Shdr_Impl<target_endianness, is64Bits> Elf_Shdr; typedef in class:__anon22767::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 {
315 const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
317 const Elf_Shdr *getSection(DataRefImpl index) const;
318 const Elf_Shdr *getSectio
[all...]
/external/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h310 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr; typedef in class:llvm::ARM::EHABI::PrinterContext
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)
371 const typename object::ELFFile<ET>::Elf_Shdr *
382 for (const Elf_Shdr
[all...]
H A DELFDumper.cpp53 typedef typename ELFO::Elf_Shdr Elf_Shdr; \
132 typedef typename ELFO::Elf_Shdr Elf_Shdr; typedef in class:__anon14880::ELFDumper
165 DynRegionInfo createDRIFrom(const Elf_Shdr *S) {
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_se
1878 typedef typename ELFO::Elf_Shdr Elf_Shdr; typedef in class:__anon14883::MipsGOTParser
[all...]
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp493 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr;
498 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a);
501 const Elf_Shdr *Sec = *SecOrErr;
502 ErrorOr<const Elf_Shdr *> SymTabOrErr = EF.getSection(Sec->sh_link);
505 const Elf_Shdr *SymTab = *SymTabOrErr;
508 ErrorOr<const Elf_Shdr *> StrTabSec = EF.getSection(SymTab->sh_link);
538 const Elf_Shdr *SymSec = Obj->getSection((*SymSI)->getRawDataRefImpl());
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp38 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef in class:__anon14050::DyldELFObject
79 Elf_Shdr *shdr =
80 const_cast<Elf_Shdr *>(reinterpret_cast<const Elf_Shdr *>(ShdrRef.p));
115 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef
128 Elf_Shdr *shdr = const_cast<Elf_Shdr *>(
129 reinterpret_cast<const Elf_Shdr *>(ShdrRef.p));

Completed in 145 milliseconds