Home | History | Annotate | Download | only in llvm-readobj

Lines Matching defs:ELF

16 #include "llvm/Object/ELF.h"
315 const object::ELFFile<ET> *ELF;
338 PrinterContext(ScopedPrinter &SW, const object::ELFFile<ET> *ELF,
340 : SW(SW), ELF(ELF), Symtab(Symtab) {}
352 ErrorOr<StringRef> StrTableOrErr = ELF->getStringTableForSymtab(*Symtab);
356 for (const Elf_Sym &Sym : ELF->symbols(Symtab))
358 Sym.getType() == ELF::STT_FUNC) {
382 for (const Elf_Shdr &Sec : ELF->sections()) {
383 if (Sec.sh_type != ELF::SHT_REL || Sec.sh_info != IndexSectionIndex)
386 ErrorOr<const Elf_Shdr *> SymTabOrErr = ELF->getSection(Sec.sh_link);
390 for (const Elf_Rel &R : ELF->rels(&Sec)) {
399 const Elf_Sym *Symbol = ELF->getRelocationSymbol(&RelA, SymTab);
402 ELF->getSection(Symbol, SymTab, ShndxTable);
415 ErrorOr<ArrayRef<uint8_t> > Contents = ELF->getSectionContents(EHT);
482 ErrorOr<ArrayRef<uint8_t> > Contents = ELF->getSectionContents(IT);
535 if (ErrorOr<StringRef> Name = ELF->getSectionName(EHT))
551 for (const Elf_Shdr &Sec : ELF->sections()) {
552 if (Sec.sh_type == ELF::SHT_ARM_EXIDX) {
556 if (ErrorOr<StringRef> SectionName = ELF->getSectionName(&Sec))