| /llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmWriter.cpp | 24 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 D | WasmWriter.h | 41 size_t &SectionSize);
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCDXContainerWriter.cpp | 57 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeObject() local 59 if (SectionSize == 0) in writeObject() 62 assert(SectionSize < std::numeric_limits<uint32_t>::max() && in writeObject() 66 PartOffset += sizeof(dxbc::PartHeader) + SectionSize; in writeObject() 94 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeObject() local 96 if (SectionSize == 0) in writeObject() 103 uint64_t PartSize = SectionSize + sizeof(dxbc::PartHeader); in writeObject() 124 Header.Size = (SectionSize + sizeof(dxbc::ProgramHeader) + 3) / 4; in writeObject() 127 Header.Bitcode.Size = SectionSize; in writeObject()
|
| H A D | MachObjectWriter.cpp | 221 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection() local 240 W.write<uint64_t>(SectionSize); // size in writeSection() 243 W.write<uint32_t>(SectionSize); // size in writeSection()
|
| H A D | MCDwarf.cpp | 1097 const MCExpr *SectionSize = in emitGenDwarfRanges() local 1101 MCOS->emitULEB128Value(SectionSize); in emitGenDwarfRanges() 1120 const MCExpr *SectionSize = in emitGenDwarfRanges() local 1123 emitAbsValue(*MCOS, SectionSize, AddrSize); in emitGenDwarfRanges()
|
| H A D | WinCOFFObjectWriter.cpp | 957 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
| H A D | RegisterEHFrames.cpp | 92 size_t SectionSize, HandleFDEFn HandleFDE) { in walkLibunwindEHFrameSection() argument 94 const char *End = SectionStart + SectionSize; in walkLibunwindEHFrameSection()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | XCOFFObjectFile.cpp | 361 return toSection64(Sec)->SectionSize; in getSectionSize() 363 return toSection32(Sec)->SectionSize; in getSectionSize() 378 uint64_t SectionSize = getSectionSize(Sec); in getSectionContents() local 380 Data, reinterpret_cast<uintptr_t>(ContentStart), SectionSize)) in getSectionContents() 384 Twine::utohexstr(SectionSize) + " goes past the end of the file"); in getSectionContents() 386 return makeArrayRef(ContentStart,SectionSize); in getSectionContents() 403 SizeOfLoaderSection = Sec64.SectionSize; in getLoaderSectionAddress() 410 SizeOfLoaderSection = Sec32.SectionSize; in getLoaderSectionAddress() 529 RelocAddress < Sec64->VirtualAddress + Sec64->SectionSize) { in getRelocationOffset() 543 RelocAddress < Sec32->VirtualAddress + Sec32->SectionSize) { in getRelocationOffset()
|
| H A D | COFFObjectFile.cpp | 1196 uint32_t SectionSize = getSectionSize(Sec); in getSectionContents() local 1197 if (Error E = checkOffset(Data, ConStart, SectionSize)) in getSectionContents() 1199 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize); in getSectionContents()
|
| H A D | MachOObjectFile.cpp | 104 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() local 107 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; in getSectionPtr() 291 const unsigned SectionSize = sizeof(Section); in parseSegmentLoadCommand() local 293 if (S.nsects > std::numeric_limits<uint32_t>::max() / SectionSize || in parseSegmentLoadCommand() 294 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
|
| H A D | WindowsResource.cpp | 654 FileSize += 2 * COFF::SectionSize; in performFileLayout()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyld.cpp | 462 for (uint64_t SectionSize : SectionSizes) { in computeAllocationSizeForSections() local 464 (SectionSize + Alignment - 1) / Alignment * Alignment; in computeAllocationSizeForSections() 576 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize; in computeTotalAllocSize() local 584 SectionSize += 4; in computeTotalAllocSize() 586 if (!SectionSize) in computeTotalAllocSize() 587 SectionSize = 1; in computeTotalAllocSize() 591 CodeSectionSizes.push_back(SectionSize); in computeTotalAllocSize() 594 ROSectionSizes.push_back(SectionSize); in computeTotalAllocSize() 597 RWSectionSizes.push_back(SectionSize); in computeTotalAllocSize()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | RewriteInstance.cpp | 1287 const uint64_t SectionSize = Section.getSize(); in disassemblePLTSectionAArch64() local 1307 while (InstrOffset < SectionSize) { in disassemblePLTSectionAArch64() 1314 while (InstrOffset < SectionSize) { in disassemblePLTSectionAArch64() 1335 while (InstrOffset < SectionSize) { in disassemblePLTSectionAArch64() 1348 const uint64_t SectionSize = Section.getSize(); in disassemblePLTSectionX86() local 2054 assert((SectionSize % 12) == 0 && in processLKExTable() 2056 for (uint64_t I = 0; I < SectionSize; I += 4) { in processLKExTable() 2140 assert((SectionSize % 4) == 0 && in processLKKSymtab() 2143 for (uint64_t I = 0; I < SectionSize; I += 4) { in processLKKSymtab() 2173 assert((SectionSize % 12) == 0 && in processLKBugTable() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/XCOFF/ |
| H A D | XCOFFReader.cpp | 27 if (Sec.SectionSize) { in readSections()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventListener.cpp | 70 unsigned int SectionSize) { in reportSection() argument 71 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | xcoff2yaml.cpp | 71 YamlSec.Size = S.SectionSize; in dumpSections()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | XCOFFObjectFile.h | 175 support::ubig32_t SectionSize; 188 support::ubig64_t SectionSize;
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | COFF.h | 60 SectionSize = 40, enumerator
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | XCOFFDumper.cpp | 721 W.printHex("Size", Sec.SectionSize); in printOverflowSectionHeader() 734 W.printHex("Size", Sec.SectionSize); in printGenericSectionHeader()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 160 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpStringOffsetsSection() local 216 if (Offset < SectionSize) { in dumpStringOffsetsSection() 218 OS << (SectionSize - Offset) << "\n"; in dumpStringOffsetsSection()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | COFFEmitter.cpp | 206 CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size(); in layoutCOFF()
|