Home
last modified time | relevance | path

Searched refs:SectionSize (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp500 uint64_t SectionSize = DataSize + StubBufSize; in computeTotalAllocSize() local
508 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()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMachObjectWriter.cpp218 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection() local
237 W.write<uint64_t>(SectionSize); // size in writeSection()
240 W.write<uint32_t>(SectionSize); // size in writeSection()
H A DMCDwarf.cpp1106 const MCExpr *SectionSize = MakeStartMinusEndExpr(*MCOS, in EmitGenDwarfRanges() local
1109 emitAbsValue(*MCOS, SectionSize, AddrSize); in EmitGenDwarfRanges()
H A DWinCOFFObjectWriter.cpp898 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DCOFF.h62 SectionSize = 40, enumerator
/freebsd-12.1/contrib/llvm/lib/Object/
H A DCOFFObjectFile.cpp1133 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local
1134 if (checkOffset(Data, ConStart, SectionSize)) in getSectionContents()
1136 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
H A DWindowsResource.cpp371 FileSize += 2 * COFF::SectionSize; in performFileLayout()
H A DMachOObjectFile.cpp102 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local
105 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr()
285 const unsigned SectionSize = sizeof(Section); in parseSegmentLoadCommand() local
287 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand()
288 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp139 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpDWARFv5StringOffsetsSection() local
201 if (Offset < SectionSize) { in dumpDWARFv5StringOffsetsSection()
203 OS << (SectionSize - Offset) << "\n"; in dumpDWARFv5StringOffsetsSection()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3265 auto SectionSize = in checkoffsets() local
3268 return ((Sec.sh_offset + SectionSize <= Phdr.p_filesz + Phdr.p_offset) in checkoffsets()
3283 auto SectionSize = in checkVMA() local
3286 return ((Sec.sh_addr + SectionSize <= Phdr.p_vaddr + Phdr.p_memsz) && in checkVMA()