Searched refs:SectionSize (Results 1 – 14 of 14) sorted by relevance
443 uint64_t SectionSize = DataSize + StubBufSize; in computeTotalAllocSize() local451 SectionSize += 4; in computeTotalAllocSize()453 if (!SectionSize) in computeTotalAllocSize()454 SectionSize = 1; in computeTotalAllocSize()458 CodeSectionSizes.push_back(SectionSize); in computeTotalAllocSize()461 ROSectionSizes.push_back(SectionSize); in computeTotalAllocSize()464 RWSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
37 SectionSize = 40, enumerator
188 uint64_t SectionSize = Layout.getSectionAddressSize(&SD); in WriteSection() local207 Write64(SectionSize); // size in WriteSection()210 Write32(SectionSize); // size in WriteSection()
268 return COFF::SectionSize; in size()788 offset += COFF::SectionSize * Header.NumberOfSections; in WriteObject()
786 uint64_t SectionSize = RelocatedSection->getSize(); in DWARFContextInMemory() local863 if (Address + R.Width > SectionSize) { in DWARFContextInMemory()866 << SectionSize << " bytes long.\n"; in DWARFContextInMemory()
201 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection() local220 write64(SectionSize); // size in writeSection()223 write32(SectionSize); // size in writeSection()
825 const MCExpr *SectionSize = MakeStartMinusEndExpr(*MCOS, in EmitGenDwarfRanges() local828 emitAbsValue(*MCOS, SectionSize, AddrSize); in EmitGenDwarfRanges()
924 offset += COFF::SectionSize * Header.NumberOfSections; in writeObject()
51 SectionSize = 40, enumerator
56 SectionSize = 40, enumerator
83 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local86 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr()233 const unsigned SectionSize = in parseSegmentLoadCommand() local235 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand()236 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
1043 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local1044 if (checkOffset(Data, ConStart, SectionSize)) in getSectionContents()1046 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
177 CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size(); in layoutCOFF()
2853 auto SectionSize = in checkoffsets() local2856 return ((Sec.sh_offset + SectionSize <= Phdr.p_filesz + Phdr.p_offset) in checkoffsets()2871 auto SectionSize = in checkVMA() local2874 return ((Sec.sh_addr + SectionSize <= Phdr.p_vaddr + Phdr.p_memsz) && in checkVMA()