Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/tools/llvm-objcopy/wasm/
DWriter.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()
33 encodeULEB128(SectionSize, OS, 5); in createSectionHeader()
40 SectionSize = SectionSize + 1 + 5; in createSectionHeader()
49 size_t SectionSize; in finalize() local
50 SectionHeaders.push_back(createSectionHeader(S, SectionSize)); in finalize()
51 ObjectSize += SectionSize; in finalize()
DWriter.h42 size_t &SectionSize);
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
DRegisterEHFrames.cpp93 size_t SectionSize, HandleFDEFn HandleFDE) { in walkAppleEHFrameSection() argument
95 const char *End = SectionStart + SectionSize; in walkAppleEHFrameSection()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp443 uint64_t SectionSize = DataSize + StubBufSize; in computeTotalAllocSize() local
451 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DXCOFFObjectFile.cpp261 return toSection64(Sec)->SectionSize; in getSectionSize()
263 return toSection32(Sec)->SectionSize; in getSectionSize()
278 uint64_t SectionSize = getSectionSize(Sec); in getSectionContents() local
279 if (checkOffset(Data, uintptr_t(ContentStart), SectionSize)) in getSectionContents()
282 return makeArrayRef(ContentStart,SectionSize); in getSectionContents()
/external/llvm-project/llvm/lib/Object/
DXCOFFObjectFile.cpp268 return toSection64(Sec)->SectionSize; in getSectionSize()
270 return toSection32(Sec)->SectionSize; in getSectionSize()
285 uint64_t SectionSize = getSectionSize(Sec); in getSectionContents() local
286 if (checkOffset(Data, uintptr_t(ContentStart), SectionSize)) in getSectionContents()
289 return makeArrayRef(ContentStart,SectionSize); in getSectionContents()
362 RelocAddress < Sec32->VirtualAddress + Sec32->SectionSize) { in getRelocationOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp556 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize; in computeTotalAllocSize() local
564 SectionSize += 4; in computeTotalAllocSize()
566 if (!SectionSize) in computeTotalAllocSize()
567 SectionSize = 1; in computeTotalAllocSize()
571 CodeSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
574 ROSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
577 RWSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DXCOFFObjectFile.h73 support::ubig32_t SectionSize;
86 support::ubig64_t SectionSize;
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp69 unsigned int SectionSize) { in reportSection() argument
70 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h499 uint64_t SectionSize = alignTo(E.Size, PageSize); in reserveMemory() local
502 SectionSize}); in reserveMemory()
503 SectionBase += SectionSize; in reserveMemory()
/external/llvm-project/llvm/include/llvm/Object/
DXCOFFObjectFile.h77 support::ubig32_t SectionSize;
90 support::ubig64_t SectionSize;
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp786 uint64_t SectionSize = RelocatedSection->getSize(); in DWARFContextInMemory() local
863 if (Address + R.Width > SectionSize) { in DWARFContextInMemory()
866 << SectionSize << " bytes long.\n"; in DWARFContextInMemory()
/external/llvm-project/llvm/tools/llvm-readobj/
DXCOFFDumper.cpp454 W.printHex("Size", Sec.SectionSize); in printOverflowSectionHeader()
467 W.printHex("Size", Sec.SectionSize); in printGenericSectionHeader()
/external/llvm/lib/MC/
DMachObjectWriter.cpp201 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection() local
220 write64(SectionSize); // size in writeSection()
223 write32(SectionSize); // size in writeSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DEHFrameSupport.cpp699 size_t SectionSize, in walkAppleEHFrameSection() argument
702 const char *End = SectionStart + SectionSize; in walkAppleEHFrameSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
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()
/external/llvm-project/llvm/lib/MC/
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()
DMCDwarf.cpp1150 const MCExpr *SectionSize = in emitGenDwarfRanges() local
1154 MCOS->emitULEB128Value(SectionSize); in emitGenDwarfRanges()
1173 const MCExpr *SectionSize = in emitGenDwarfRanges() local
1176 emitAbsValue(*MCOS, SectionSize, AddrSize); in emitGenDwarfRanges()
/external/llvm/include/llvm/Support/
DCOFF.h51 SectionSize = 40, enumerator
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCOFF.h56 SectionSize = 40, enumerator
/external/llvm/lib/Object/
DMachOObjectFile.cpp83 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local
86 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr()
233 const unsigned SectionSize = in parseSegmentLoadCommand() local
235 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand()
236 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
DCOFFObjectFile.cpp1043 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local
1044 if (checkOffset(Data, ConStart, SectionSize)) in getSectionContents()
1046 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DCOFF.h61 SectionSize = 40, enumerator
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DCOFF.h61 SectionSize = 40, enumerator

12