Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
H A DWriter.cpp24 size_t &SectionSize) { in createSectionHeader() argument
29 SectionSize = S.Contents.size(); in createSectionHeader()
31 SectionSize += getULEB128Size(S.Name.size()) + S.Name.size(); in createSectionHeader()
34 encodeULEB128(SectionSize, OS, 5); in createSectionHeader()
41 SectionSize = SectionSize + 1 + 5; in createSectionHeader()
50 size_t SectionSize; in finalize() local
51 SectionHeaders.push_back(createSectionHeader(S, SectionSize)); in finalize()
52 ObjectSize += SectionSize; in finalize()
H A DWriter.h41 size_t &SectionSize);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DRegisterEHFrames.cpp93 size_t SectionSize, HandleFDEFn HandleFDE) { in walkAppleEHFrameSection() argument
95 const char *End = SectionStart + SectionSize; in walkAppleEHFrameSection()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DXCOFFObjectFile.cpp269 return toSection64(Sec)->SectionSize; in getSectionSize()
271 return toSection32(Sec)->SectionSize; in getSectionSize()
286 uint64_t SectionSize = getSectionSize(Sec); in getSectionContents() local
287 if (checkOffset(Data, reinterpret_cast<uintptr_t>(ContentStart), SectionSize)) in getSectionContents()
290 return makeArrayRef(ContentStart,SectionSize); in getSectionContents()
361 RelocAddress < Sec32->VirtualAddress + Sec32->SectionSize) { in getRelocationOffset()
H A DCOFFObjectFile.cpp1135 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local
1136 if (Error E = checkOffset(Data, ConStart, SectionSize)) in getSectionContents()
1138 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
H A DMachOObjectFile.cpp101 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local
104 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr()
288 const unsigned SectionSize = sizeof(Section); in parseSegmentLoadCommand() local
290 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand()
291 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
H A DWindowsResource.cpp656 FileSize += 2 * COFF::SectionSize; in performFileLayout()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp566 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize; in computeTotalAllocSize() local
574 SectionSize += 4; in computeTotalAllocSize()
576 if (!SectionSize) in computeTotalAllocSize()
577 SectionSize = 1; in computeTotalAllocSize()
581 CodeSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
584 ROSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
587 RWSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp69 unsigned int SectionSize) { in reportSection() argument
70 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DOrcRPCTPCServer.h504 uint64_t SectionSize = alignTo(E.Size, PageSize); in reserveMemory() local
507 SectionSize}); in reserveMemory()
508 SectionBase += SectionSize; in reserveMemory()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DXCOFFObjectFile.h77 support::ubig32_t SectionSize;
90 support::ubig64_t SectionSize;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp453 W.printHex("Size", Sec.SectionSize); in printOverflowSectionHeader()
466 W.printHex("Size", Sec.SectionSize); in printGenericSectionHeader()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMachObjectWriter.cpp219 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection() local
238 W.write<uint64_t>(SectionSize); // size in writeSection()
241 W.write<uint32_t>(SectionSize); // size in writeSection()
H A DMCDwarf.cpp1115 const MCExpr *SectionSize = in emitGenDwarfRanges() local
1119 MCOS->emitULEB128Value(SectionSize); in emitGenDwarfRanges()
1138 const MCExpr *SectionSize = in emitGenDwarfRanges() local
1141 emitAbsValue(*MCOS, SectionSize, AddrSize); in emitGenDwarfRanges()
H A DWinCOFFObjectWriter.cpp961 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DCOFF.h61 SectionSize = 40, enumerator
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp154 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpStringOffsetsSection() local
210 if (Offset < SectionSize) { in dumpStringOffsetsSection()
212 OS << (SectionSize - Offset) << "\n"; in dumpStringOffsetsSection()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp213 CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size(); in layoutCOFF()