Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmWriter.cpp23 size_t &SectionSize) { in createSectionHeader() argument
28 SectionSize = S.Contents.size(); in createSectionHeader()
30 SectionSize += getULEB128Size(S.Name.size()) + S.Name.size(); in createSectionHeader()
35 encodeULEB128(SectionSize, OS, HeaderSecSizeEncodingLen); in createSectionHeader()
42 SectionSize = SectionSize + 1 + HeaderSecSizeEncodingLen; in createSectionHeader()
51 size_t SectionSize; in finalize() local
52 SectionHeaders.push_back(createSectionHeader(S, SectionSize)); in finalize()
53 ObjectSize += SectionSize; in finalize()
H A DWasmWriter.h41 size_t &SectionSize);
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp29 uint64_t SectionSize = Asm.getSectionAddressSize(Sec); in writeObject() local
31 if (SectionSize == 0) in writeObject()
34 assert(SectionSize < std::numeric_limits<uint32_t>::max() && in writeObject()
38 PartOffset += sizeof(dxbc::PartHeader) + SectionSize; in writeObject()
70 uint64_t SectionSize = Asm.getSectionAddressSize(Sec); in writeObject() local
72 if (SectionSize == 0) in writeObject()
79 uint64_t PartSize = SectionSize; in writeObject()
102 Header.Size = (SectionSize + sizeof(dxbc::ProgramHeader) + 3) / 4; in writeObject()
108 Header.Bitcode.Size = SectionSize; in writeObject()
H A DMachObjectWriter.cpp266 uint64_t SectionSize = Asm.getSectionAddressSize(Sec); in writeSection() local
285 W.write<uint64_t>(SectionSize); // size in writeSection()
288 W.write<uint32_t>(SectionSize); // size in writeSection()
H A DMCDwarf.cpp1137 const MCExpr *SectionSize = in emitGenDwarfRanges() local
1141 MCOS->emitULEB128Value(SectionSize); in emitGenDwarfRanges()
1160 const MCExpr *SectionSize = in emitGenDwarfRanges() local
1163 emitAbsValue(*MCOS, SectionSize, AddrSize); in emitGenDwarfRanges()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DRegisterEHFrames.cpp87 size_t SectionSize, HandleFDEFn HandleFDE) { in walkLibunwindEHFrameSection() argument
89 const char *End = SectionStart + SectionSize; in walkLibunwindEHFrameSection()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp466 for (uint64_t SectionSize : SectionSizes) in computeAllocationSizeForSections() local
467 TotalSize += alignTo(SectionSize, Alignment); in computeAllocationSizeForSections()
573 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize; in computeTotalAllocSize() local
581 SectionSize += 4; in computeTotalAllocSize()
583 if (!SectionSize) in computeTotalAllocSize()
584 SectionSize = 1; in computeTotalAllocSize()
588 CodeSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
591 ROSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
594 RWSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h276 uint64_t &SectionSize);
278 dwarf::DwarfFormat Format, uint64_t &SectionSize);
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp403 return toSection64(Sec)->SectionSize; in getSectionSize()
405 return toSection32(Sec)->SectionSize; in getSectionSize()
420 uint64_t SectionSize = getSectionSize(Sec); in getSectionContents() local
422 Data, reinterpret_cast<uintptr_t>(ContentStart), SectionSize)) in getSectionContents()
426 Twine::utohexstr(SectionSize) + " goes past the end of the file"); in getSectionContents()
428 return ArrayRef(ContentStart, SectionSize); in getSectionContents()
592 RelocAddress < Sec64->VirtualAddress + Sec64->SectionSize) { in getRelocationOffset()
606 RelocAddress < Sec32->VirtualAddress + Sec32->SectionSize) { in getRelocationOffset()
H A DGOFFObjectFile.cpp466 uint64_t SectionSize = getSectionSize(Sec); in getSectionContents() local
477 SmallVector<uint8_t> Data(SectionSize, FillByte); in getSectionContents()
H A DCOFFObjectFile.cpp1309 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local
1310 if (Error E = checkOffset(Data, ConStart, SectionSize)) in getSectionContents()
1312 Res = ArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
H A DMachOObjectFile.cpp104 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local
107 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr()
297 const unsigned SectionSize = sizeof(Section); in parseSegmentLoadCommand() local
299 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand()
300 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
H A DWindowsResource.cpp655 FileSize += 2 * COFF::SectionSize; in performFileLayout()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFReader.cpp27 if (Sec.SectionSize) { in readSections()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp70 unsigned int SectionSize) { in reportSection() argument
71 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/XCOFF/
H A DObjectFileXCOFF.cpp348 section.VirtualAddress, section.SectionSize, in CreateSectionsWithBitness()
349 section.FileOffsetToRawData, section.SectionSize, 0, section.Flags)); in CreateSectionsWithBitness()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp1191 uint64_t &SectionSize) { in emitIntOffset() argument
1194 SectionSize += Size; in emitIntOffset()
1199 uint64_t &SectionSize) { in emitLabelDifference() argument
1202 SectionSize += Size; in emitLabelDifference()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp1055 unsigned SectionSize = in emitEndOfAsmFile() local
1057 OutStreamer->emitInt32(SectionSize); in emitEndOfAsmFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DXCOFFObjectFile.h188 support::ubig32_t SectionSize;
201 support::ubig64_t SectionSize;
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DCOFF.h61 SectionSize = 40, enumerator
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp1024 W.printHex("Size", Sec.SectionSize); in printOverflowSectionHeader()
1037 W.printHex("Size", Sec.SectionSize); in printGenericSectionHeader()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp836 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpStringOffsetsSection() local
892 if (Offset < SectionSize) { in dumpStringOffsetsSection()
894 OS << (SectionSize - Offset) << "\n"; in dumpStringOffsetsSection()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp197 CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size(); in layoutCOFF()

12