Lines Matching refs:ehdr
305 const llvm::ELF::Elf32_Ehdr* ehdr = in readSectionHeaders() local
314 shoff = ehdr->e_shoff; in readSectionHeaders()
315 shentsize = ehdr->e_shentsize; in readSectionHeaders()
316 shnum = ehdr->e_shnum; in readSectionHeaders()
317 shstrtab = ehdr->e_shstrndx; in readSectionHeaders()
319 shoff = mcld::bswap32(ehdr->e_shoff); in readSectionHeaders()
320 shentsize = mcld::bswap16(ehdr->e_shentsize); in readSectionHeaders()
321 shnum = mcld::bswap16(ehdr->e_shnum); in readSectionHeaders()
322 shstrtab = mcld::bswap16(ehdr->e_shstrndx); in readSectionHeaders()
799 const llvm::ELF::Elf64_Ehdr* ehdr = in readSectionHeaders() local
808 shoff = ehdr->e_shoff; in readSectionHeaders()
809 shentsize = ehdr->e_shentsize; in readSectionHeaders()
810 shnum = ehdr->e_shnum; in readSectionHeaders()
811 shstrtab = ehdr->e_shstrndx; in readSectionHeaders()
813 shoff = mcld::bswap64(ehdr->e_shoff); in readSectionHeaders()
814 shentsize = mcld::bswap16(ehdr->e_shentsize); in readSectionHeaders()
815 shnum = mcld::bswap16(ehdr->e_shnum); in readSectionHeaders()
816 shstrtab = mcld::bswap16(ehdr->e_shstrndx); in readSectionHeaders()