Home
last modified time | relevance | path

Searched refs:NumSections (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/third_party/LLVM/tools/macho-dump/
Dmacho-dump.cpp56 uint32_t NumSections, uint32_t Flags) { in DumpSegmentCommandData() argument
65 outs() << " ('num_sections', " << NumSections << ")\n"; in DumpSegmentCommandData()
137 SLC->NumSections, SLC->Flags); in DumpSegmentCommand()
142 for (unsigned i = 0; i != SLC->NumSections; ++i) { in DumpSegmentCommand()
173 SLC->NumSections, SLC->Flags); in DumpSegment64Command()
178 for (unsigned i = 0; i != SLC->NumSections; ++i) { in DumpSegment64Command()
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp144 void MachObjectWriter::WriteSegmentLoadCommand(unsigned NumSections, in WriteSegmentLoadCommand() argument
159 NumSections * (is64Bit() ? macho::Section64Size : in WriteSegmentLoadCommand()
176 Write32(NumSections); in WriteSegmentLoadCommand()
632 unsigned NumSections = Asm.size(); in WriteObject() local
638 macho::SegmentLoadCommand64Size + NumSections * macho::Section64Size : in WriteObject()
639 macho::SegmentLoadCommand32Size + NumSections * macho::Section32Size; in WriteObject()
683 WriteSegmentLoadCommand(NumSections, VMSize, in WriteObject()
DELFObjectWriter.cpp1082 const unsigned NumSections = Asm.size() + 1; in WriteSectionHeader() local
1085 Sections.resize(NumSections - 1); in WriteSectionHeader()
1095 NumSections >= ELF::SHN_LORESERVE ? NumSections : 0; in WriteSectionHeader()
1100 for (unsigned i = 0; i < NumSections - 1; ++i) { in WriteSectionHeader()
1185 unsigned NumSections = Sections.size(); in WriteObject() local
1206 FileOff += (NumSections + 1) * SectionHeaderEntrySize; in WriteObject()
1208 for (unsigned i = NumRegularSections + 1; i < NumSections; ++i) { in WriteObject()
1222 WriteHeader(SectionHeaderOffset, NumSections + 1); in WriteObject()
1240 for (unsigned i = NumRegularSections + 1; i < NumSections; ++i) in WriteObject()
/external/llvm/tools/dsymutil/
DMachOUtils.cpp269 uint64_t FileSize, unsigned NumSections, in createDwarfSegment() argument
271 Writer.writeSegmentLoadCommand("__DWARF", NumSections, VMAddr, in createDwarfSegment()
309 static unsigned segmentLoadCommandSize(bool Is64Bit, unsigned NumSections) { in segmentLoadCommandSize() argument
312 NumSections * sizeof(MachO::section_64); in segmentLoadCommandSize()
314 return sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in segmentLoadCommandSize()
/external/llvm/lib/DebugInfo/PDB/Raw/
DPublicsStream.cpp59 ulittle32_t NumSections; member
150 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) in reload()
DDbiStream.cpp298 size_t NumSections = StreamLen / sizeof(object::coff_section); in initializeSectionHeadersData() local
300 if (auto EC = Reader.readArray(SectionHeaders, NumSections)) in initializeSectionHeadersData()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELF.h477 uintX_t NumSections = getHeader()->e_shnum; in sections() local
478 if (NumSections == 0) in sections()
479 NumSections = First->sh_size; in sections()
481 if (NumSections > UINT64_MAX / sizeof(Elf_Shdr)) in sections()
484 const uint64_t SectionTableSize = NumSections * sizeof(Elf_Shdr); in sections()
490 return makeArrayRef(First, NumSections); in sections()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DMachOUtils.cpp285 uint64_t FileSize, unsigned NumSections, in createDwarfSegment() argument
287 Writer.writeSegmentLoadCommand("__DWARF", NumSections, VMAddr, in createDwarfSegment()
325 static unsigned segmentLoadCommandSize(bool Is64Bit, unsigned NumSections) { in segmentLoadCommandSize() argument
328 NumSections * sizeof(MachO::section_64); in segmentLoadCommandSize()
330 return sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in segmentLoadCommandSize()
/external/llvm/lib/MC/
DMachObjectWriter.cpp156 StringRef Name, unsigned NumSections, uint64_t VMAddr, uint64_t VMSize, in writeSegmentLoadCommand() argument
170 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
190 write32(NumSections); in writeSegmentLoadCommand()
717 unsigned NumSections = Asm.size(); in writeObject() local
725 sizeof(MachO::segment_command_64) + NumSections * sizeof(MachO::section_64): in writeObject()
726 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in writeObject()
797 writeSegmentLoadCommand("", NumSections, 0, VMSize, SectionDataStart, in writeObject()
DELFObjectWriter.cpp1186 const unsigned NumSections = SectionTable.size(); in writeSectionHeader() local
1190 (NumSections + 1) >= ELF::SHN_LORESERVE ? NumSections + 1 : 0; in writeSectionHeader()
1320 uint16_t NumSections = (SectionTable.size() + 1 >= ELF::SHN_LORESERVE) in writeObject() local
1324 sys::swapByteOrder(NumSections); in writeObject()
1342 getStream().pwrite(reinterpret_cast<char *>(&NumSections), in writeObject()
1343 sizeof(NumSections), NumSectionsOffset); in writeObject()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp143 for (unsigned SectNum = 0; SectNum != SegmentLC->NumSections; ++SectNum) { in loadSegment32()
164 if (STE->SectionIndex > SegmentLC->NumSections) in loadSegment32()
282 for (unsigned SectNum = 0; SectNum != Segment64LC->NumSections; ++SectNum) { in loadSegment64()
303 if (STE->SectionIndex > Segment64LC->NumSections) in loadSegment64()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.h121 unsigned NumSections; // Always = SectionList.size() variable
161 SN->SectionIdx = NumSections++;
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachOFormat.h165 uint32_t NumSections; member
179 uint32_t NumSections; member
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMachObjectWriter.cpp174 StringRef Name, unsigned NumSections, uint64_t VMAddr, uint64_t VMSize, in writeSegmentLoadCommand() argument
188 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
207 W.write<uint32_t>(NumSections); in writeSegmentLoadCommand()
746 unsigned NumSections = Asm.size(); in writeObject() local
754 sizeof(MachO::segment_command_64) + NumSections * sizeof(MachO::section_64): in writeObject()
755 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in writeObject()
829 writeSegmentLoadCommand("", NumSections, 0, VMSize, SectionDataStart, in writeObject()
DELFObjectWriter.cpp1021 const unsigned NumSections = SectionTable.size(); in writeSectionHeader() local
1025 (NumSections + 1) >= ELF::SHN_LORESERVE ? NumSections + 1 : 0; in writeSectionHeader()
1201 uint16_t NumSections = support::endian::byte_swap<uint16_t>( in writeObject() local
1221 Stream.pwrite(reinterpret_cast<char *>(&NumSections), sizeof(NumSections), in writeObject()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DPublicsStream.cpp92 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) in reload()
DDbiStream.cpp271 size_t NumSections = StreamLen / sizeof(object::coff_section); in initializeSectionHeadersData() local
273 if (auto EC = Reader.readArray(SectionHeaders, NumSections)) in initializeSectionHeadersData()
/external/swiftshader/third_party/subzero/src/
DIceELFObjectWriter.h177 SizeT SectHeaderStrIndex, SizeT NumSections);
DIceELFObjectWriter.cpp474 SizeT NumSections) { in writeELFHeaderInternal() argument
490 assert(NumSections < SHN_LORESERVE); in writeELFHeaderInternal()
514 Str.writeLE16(static_cast<Elf64_Half>(NumSections)); // e_shnum in writeELFHeaderInternal()
/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObject.cpp179 SwapValue(Value.NumSections); in SwapStruct()
197 SwapValue(Value.NumSections); in SwapStruct()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachObjectWriter.h158 void WriteSegmentLoadCommand(unsigned NumSections,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DRawTypes.h273 support::ulittle32_t NumSections; member
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h169 void writeSegmentLoadCommand(StringRef Name, unsigned NumSections,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCMachObjectWriter.h182 void writeSegmentLoadCommand(StringRef Name, unsigned NumSections,
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp228 for (unsigned SectNum = 0; SectNum != SegmentLC->NumSections; ++SectNum) { in getSectionsAndSymbols()
239 for (unsigned SectNum = 0; SectNum != Segment64LC->NumSections; in getSectionsAndSymbols()

12