Lines Matching refs:IsELF64
34 bool IsELF64; member
58 return ELFTargetInfo[Arch].IsELF64; in isELF64()
471 template <bool IsELF64>
478 Str.write8(IsELF64 ? ELFCLASS64 : ELFCLASS32); in writeELFHeaderInternal()
498 Str.writeELFWord<IsELF64>(1); // e_version in writeELFHeaderInternal()
501 Str.writeAddrOrOffset<IsELF64>(0); // e_entry in writeELFHeaderInternal()
502 Str.writeAddrOrOffset<IsELF64>(0); // e_phoff in writeELFHeaderInternal()
503 Str.writeAddrOrOffset<IsELF64>(SectionHeaderOffset); // e_shoff in writeELFHeaderInternal()
504 Str.writeELFWord<IsELF64>(getELFFlags(Arch)); // e_flags in writeELFHeaderInternal()
505 Str.writeLE16(IsELF64 ? sizeof(Elf64_Ehdr) : sizeof(Elf32_Ehdr)); // e_ehsize in writeELFHeaderInternal()
510 Str.writeLE16(IsELF64 ? sizeof(Elf64_Shdr) in writeELFHeaderInternal()