Lines Matching refs:shdr
329 const llvm::ELF::Elf32_Shdr* shdr = NULL; in readSectionHeaders() local
344 shdr = reinterpret_cast<const llvm::ELF::Elf32_Shdr*>(shdr_region.begin()); in readSectionHeaders()
347 sh_size = shdr->sh_size; in readSectionHeaders()
348 sh_link = shdr->sh_link; in readSectionHeaders()
350 sh_size = mcld::bswap32(shdr->sh_size); in readSectionHeaders()
351 sh_link = mcld::bswap32(shdr->sh_link); in readSectionHeaders()
368 shdr = &shdrTab[shstrtab]; in readSectionHeaders()
370 sh_offset = shdr->sh_offset; in readSectionHeaders()
371 sh_size = shdr->sh_size; in readSectionHeaders()
373 sh_offset = mcld::bswap32(shdr->sh_offset); in readSectionHeaders()
374 sh_size = mcld::bswap32(shdr->sh_size); in readSectionHeaders()
823 const llvm::ELF::Elf64_Shdr* shdr = NULL; in readSectionHeaders() local
838 shdr = reinterpret_cast<const llvm::ELF::Elf64_Shdr*>(shdr_region.begin()); in readSectionHeaders()
841 sh_size = shdr->sh_size; in readSectionHeaders()
842 sh_link = shdr->sh_link; in readSectionHeaders()
844 sh_size = mcld::bswap64(shdr->sh_size); in readSectionHeaders()
845 sh_link = mcld::bswap32(shdr->sh_link); in readSectionHeaders()
862 shdr = &shdrTab[shstrtab]; in readSectionHeaders()
864 sh_offset = shdr->sh_offset; in readSectionHeaders()
865 sh_size = shdr->sh_size; in readSectionHeaders()
867 sh_offset = mcld::bswap64(shdr->sh_offset); in readSectionHeaders()
868 sh_size = mcld::bswap64(shdr->sh_size); in readSectionHeaders()