reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Object/ELF.h
  126   Expected<const T *> getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
  129   getStringTable(const Elf_Shdr *Section,
  131   Expected<StringRef> getStringTableForSymtab(const Elf_Shdr &Section) const;
  132   Expected<StringRef> getStringTableForSymtab(const Elf_Shdr &Section,
  135   Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
  136   Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section,
  149                                                 const Elf_Shdr *SymTab) const;
  170   Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const {
  176   Expected<Elf_Rela_Range> relas(const Elf_Shdr *Sec) const {
  180   Expected<Elf_Rel_Range> rels(const Elf_Shdr *Sec) const {
  184   Expected<Elf_Relr_Range> relrs(const Elf_Shdr *Sec) const {
  190   Expected<std::vector<Elf_Rela>> android_relas(const Elf_Shdr *Sec) const;
  236   Elf_Note_Iterator notes_begin(const Elf_Shdr &Shdr, Error &Err) const {
  273   iterator_range<Elf_Note_Iterator> notes(const Elf_Shdr &Shdr,
  283   Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
  284                                         const Elf_Shdr *SymTab,
  286   Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
  289   Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
  291   Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec,
  295   getSectionName(const Elf_Shdr *Section,
  297   Expected<StringRef> getSectionName(const Elf_Shdr *Section,
  300   Expected<ArrayRef<T>> getSectionContentsAsArray(const Elf_Shdr *Sec) const;
  301   Expected<ArrayRef<uint8_t>> getSectionContents(const Elf_Shdr *Sec) const;
  353 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
  376 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const {
  392 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr *Sec) const {
  422 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const {
  470                                    const Elf_Shdr *SymTab) const {
  508     return ArrayRef<Elf_Shdr>();
  510   if (getHeader()->e_shentsize != sizeof(Elf_Shdr))
  515   if (SectionTableOffset + sizeof(Elf_Shdr) > FileSize ||
  516       SectionTableOffset + (uintX_t)sizeof(Elf_Shdr) < SectionTableOffset)
  522   if (SectionTableOffset & (alignof(Elf_Shdr) - 1))
  526   const Elf_Shdr *First =
  533   if (NumSections > UINT64_MAX / sizeof(Elf_Shdr))
  538   const uint64_t SectionTableSize = NumSections * sizeof(Elf_Shdr);
  565 Expected<const T *> ELFFile<ELFT>::getEntry(const Elf_Shdr *Section,
  591 ELFFile<ELFT>::getStringTable(const Elf_Shdr *Section,
  617 ELFFile<ELFT>::getSHNDXTable(const Elf_Shdr &Section) const {
  626 ELFFile<ELFT>::getSHNDXTable(const Elf_Shdr &Section,
  636   const Elf_Shdr &SymTable = **SymTableOrErr;
  655 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const {
  664 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec,
  679 ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section,
  691 Expected<StringRef> ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section,
lib/Object/ELF.cpp
  351 ELFFile<ELFT>::android_relas(const Elf_Shdr *Sec) const {
  525     for (const Elf_Shdr &Sec : *SectionsOrError) {
tools/llvm-readobj/ELFDumper.cpp
  867 static const typename ELFO::Elf_Shdr *
  877 static const typename ELFO::Elf_Shdr *
 2259   for (const ELFO::Elf_Shdr &Sec :