reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
154 return getHeader()->getDataEncoding() == ELF::ELFDATA2LSB; 158 return getHeader()->e_machine == ELF::EM_MIPS && 159 getHeader()->getFileClass() == ELF::ELFCLASS64; 194 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) 194 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) 196 Twine(getHeader()->e_phentsize)); 197 if (getHeader()->e_phoff + 198 (getHeader()->e_phnum * getHeader()->e_phentsize) > 198 (getHeader()->e_phnum * getHeader()->e_phentsize) > 202 Twine::utohexstr(getHeader()->e_phoff) + 203 ", e_phnum = " + Twine(getHeader()->e_phnum) + 204 ", e_phentsize = " + Twine(getHeader()->e_phentsize)); 206 reinterpret_cast<const Elf_Phdr *>(base() + getHeader()->e_phoff); 207 return makeArrayRef(Begin, Begin + getHeader()->e_phnum); 428 return getELFRelocationTypeName(getHeader()->e_machine, Type); 464 return getELFRelativeRelocationType(getHeader()->e_machine); 481 uint32_t Index = getHeader()->e_shstrndx; 506 const uintX_t SectionTableOffset = getHeader()->e_shoff; 510 if (getHeader()->e_shentsize != sizeof(Elf_Shdr)) 512 Twine(getHeader()->e_shentsize)); 529 uintX_t NumSections = getHeader()->e_shnum; 598 getHeader()->e_machine, Section->sh_type))) 640 object::getELFSectionTypeName(getHeader()->e_machine,include/llvm/Object/ELFObjectFile.h
429 unsigned getPlatformFlags() const override { return EF.getHeader()->e_flags; } 504 const Elf_Ehdr *Header = EF.getHeader(); 525 const Elf_Ehdr *Header = EF.getHeader(); 553 return EF.getHeader()->e_machine; 557 return EF.getHeader()->e_type; 633 if (EF.getHeader()->e_machine == ELF::EM_ARM) { 820 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize; 847 if (EF.getHeader()->e_type != ELF::ET_REL) 1056 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) { 1058 switch (EF.getHeader()->e_machine) { 1090 switch (EF.getHeader()->e_machine) { 1122 switch (EF.getHeader()->e_machine) { 1139 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) { 1154 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) { 1175 unsigned MACH = EF.getHeader()->e_flags & ELF::EF_AMDGPU_MACH; 1196 return EF.getHeader()->e_entry; 1206 return EF.getHeader()->e_type == ELF::ET_REL;lib/Object/ELF.cpp
496 return getDynamicTagAsString(getHeader()->e_machine, Type);
tools/lld/ELF/Arch/AMDGPU.cpp 44 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader()->e_flags;
tools/lld/ELF/Arch/Hexagon.cpp 66 uint32_t eflags = cast<ObjFile<ELF32LE>>(f)->getObj().getHeader()->e_flags;
tools/lld/ELF/Arch/Mips.cpp361 if (f->getObj().getHeader()->e_flags & EF_MIPS_PIC) 736 return file->getObj().getHeader()->e_flags & EF_MIPS_PIC;tools/lld/ELF/Arch/MipsArchTree.cpp
300 v.push_back({f, cast<ObjFile<ELFT>>(f)->getObj().getHeader()->e_flags}); 365 return ef->template getObj<ELFT>().getHeader()->e_flags & EF_MIPS_ABI2;tools/lld/ELF/Arch/PPC64.cpp
345 return cast<ObjFile<ELF64BE>>(file)->getObj().getHeader()->e_flags; 346 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader()->e_flags;tools/lld/ELF/Arch/RISCV.cpp
104 return cast<ObjFile<ELF64LE>>(f)->getObj().getHeader()->e_flags; 105 return cast<ObjFile<ELF32LE>>(f)->getObj().getHeader()->e_flags;tools/lld/ELF/InputFiles.cpp
338 emachine = obj.getHeader()->e_machine; 339 osabi = obj.getHeader()->e_ident[llvm::ELF::EI_OSABI]; 340 abiVersion = obj.getHeader()->e_ident[llvm::ELF::EI_ABIVERSION];tools/llvm-elfabi/ELFObjHandler.cpp
325 DestStub->Arch = ElfFile->getHeader()->e_machine;
tools/llvm-objcopy/ELF/Object.cpp1301 const auto &Ehdr = *HeadersFile.getHeader(); 1586 uint32_t ShstrIndex = ElfFile.getHeader()->e_shstrndx; 1612 auto &Ehdr = *HeadersFile.getHeader();tools/llvm-readobj/ELFDumper.cpp
1698 ObjF->getELFFile()->getHeader()->e_machine, Tag)) + 1976 switch (ObjF->getELFFile()->getHeader()->e_machine) { 2160 const unsigned Machine = Obj->getHeader()->e_machine; 2223 switch (Obj->getHeader()->e_machine) { 2253 if (Obj->getHeader()->e_machine != EM_ARM) { 2729 const typename ELFT::Ehdr *ElfHeader = Obj->getHeader(); 2742 const typename ELFT::Ehdr *ElfHeader = Obj->getHeader(); 2754 const Elf_Ehdr *e = Obj->getHeader(); 3197 << "0x" << to_hexString(Obj->getHeader()->e_shoff, false) << ":\n\n"; 3215 getSectionTypeString(Obj->getHeader()->e_machine, Sec.sh_type); 3332 if (Obj->getHeader()->e_machine == ELF::EM_AMDGPU && 3372 if (Obj->getHeader()->e_machine == ELF::EM_AMDGPU && 3548 const Elf_Ehdr *Header = Obj->getHeader(); 3687 getTypeString(Obj->getHeader()->e_machine, Tag) + 4623 StringRef NoteType = Obj->getHeader()->e_type == ELF::ET_CORE 4664 if (Obj->getHeader()->e_type != ELF::ET_CORE && !Sections.empty()) { 5146 const Elf_Ehdr *E = Obj->getHeader(); 5356 object::getELFSectionTypeName(Obj->getHeader()->e_machine, Sec.sh_type), 5360 switch (Obj->getHeader()->e_machine) { 5446 if (Obj->getHeader()->e_machine == ELF::EM_AMDGPU && 5458 if (Obj->getHeader()->e_machine == EM_MIPS) { 5513 getTypeString(Obj->getHeader()->e_machine, Tag)); 5603 getElfSegmentType(Obj->getHeader()->e_machine, Phdr.p_type), 5868 StringRef NoteType = Obj->getHeader()->e_type == ELF::ET_CORE 5907 if (Obj->getHeader()->e_type != ELF::ET_CORE && !Sections.empty()) {tools/obj2yaml/elf2yaml.cpp
156 Y->Header.Class = ELFYAML::ELF_ELFCLASS(Obj.getHeader()->getFileClass()); 157 Y->Header.Data = ELFYAML::ELF_ELFDATA(Obj.getHeader()->getDataEncoding()); 158 Y->Header.OSABI = Obj.getHeader()->e_ident[ELF::EI_OSABI]; 159 Y->Header.ABIVersion = Obj.getHeader()->e_ident[ELF::EI_ABIVERSION]; 160 Y->Header.Type = Obj.getHeader()->e_type; 161 Y->Header.Machine = Obj.getHeader()->e_machine; 162 Y->Header.Flags = Obj.getHeader()->e_flags; 163 Y->Header.Entry = Obj.getHeader()->e_entry;