Searched refs:SectionSize (Results 1 – 10 of 10) sorted by relevance
500 uint64_t SectionSize = DataSize + StubBufSize; in computeTotalAllocSize() local508 SectionSize += 4; in computeTotalAllocSize()510 if (!SectionSize) in computeTotalAllocSize()511 SectionSize = 1; in computeTotalAllocSize()515 CodeSectionSizes.push_back(SectionSize); in computeTotalAllocSize()518 ROSectionSizes.push_back(SectionSize); in computeTotalAllocSize()521 RWSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
218 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection() local237 W.write<uint64_t>(SectionSize); // size in writeSection()240 W.write<uint32_t>(SectionSize); // size in writeSection()
1106 const MCExpr *SectionSize = MakeStartMinusEndExpr(*MCOS, in EmitGenDwarfRanges() local1109 emitAbsValue(*MCOS, SectionSize, AddrSize); in EmitGenDwarfRanges()
898 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
62 SectionSize = 40, enumerator
1133 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local1134 if (checkOffset(Data, ConStart, SectionSize)) in getSectionContents()1136 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
371 FileSize += 2 * COFF::SectionSize; in performFileLayout()
102 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local105 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr()285 const unsigned SectionSize = sizeof(Section); in parseSegmentLoadCommand() local287 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand()288 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
139 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpDWARFv5StringOffsetsSection() local201 if (Offset < SectionSize) { in dumpDWARFv5StringOffsetsSection()203 OS << (SectionSize - Offset) << "\n"; in dumpDWARFv5StringOffsetsSection()
3265 auto SectionSize = in checkoffsets() local3268 return ((Sec.sh_offset + SectionSize <= Phdr.p_filesz + Phdr.p_offset) in checkoffsets()3283 auto SectionSize = in checkVMA() local3286 return ((Sec.sh_addr + SectionSize <= Phdr.p_vaddr + Phdr.p_memsz) && in checkVMA()