Searched refs:SHOff (Results 1 – 7 of 7) sorted by relevance
235 void writeELFHeader(raw_ostream &OS, Optional<uint64_t> SHOff);387 void ELFState<ELFT>::writeELFHeader(raw_ostream &OS, Optional<uint64_t> SHOff) { in writeELFHeader() argument439 else if (SHOff) in writeELFHeader()440 Header.e_shoff = *SHOff; in writeELFHeader()449 else if (!SHOff) in writeELFHeader()459 else if (SHOff && !ExcludedSectionHeaders.count(".shstrtab")) in writeELFHeader()1931 Optional<uint64_t> SHOff; in writeELF() local1933 SHOff = State.alignToOffset(CBA, sizeof(typename ELFT::uint), in writeELF()1935 bool ReachedLimit = SHOff.getValueOr(CBA.getOffset()) + in writeELF()1952 State.writeELFHeader(OS, SHOff); in writeELF()
300 uint64_t SHOff; in writeELFHeader() local301 CBA.getOSAndAlignedOffset(SHOff, sizeof(typename ELFT::uint)); in writeELFHeader()303 Doc.Header.SHOff ? typename ELFT::uint(*Doc.Header.SHOff) : SHOff; in writeELFHeader()
835 IO.mapOptional("SHOff", FileHdr.SHOff); in mapping()
2000 Ehdr.e_shoff = Obj.SHOff; in writeEhdr()2039 *reinterpret_cast<Elf_Shdr *>(Buf.getBufferStart() + Obj.SHOff); in writeShdrs()2390 Obj.SHOff = Offset; in assignOffsets()2397 return Obj.SHOff; in totalSize()2399 return Obj.SHOff + ShdrCount * sizeof(Elf_Shdr); in totalSize()2523 uint64_t Offset = Obj.SHOff + sizeof(Elf_Shdr); in finalize()
1042 uint64_t SHOff; variable
82 Optional<llvm::yaml::Hex64> SHOff; member
591 ## Check the case when SHOff is too large. SHOff + sizeof(Elf_Shdr) overflows the uint64 type.