Home
last modified time | relevance | path

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

/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/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/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/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/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/CodeGen/
DELFWriter.h121 unsigned NumSections; // Always = SectionList.size() variable
161 SN->SectionIdx = NumSections++;
DELFWriter.cpp82 NumSections = 0; in ELFWriter()
1063 ElfHdr.fixWord16(NumSections, ELFHdr_e_shnum_Offset); in OutputSectionsAndSectionTable()
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachOFormat.h165 uint32_t NumSections; member
179 uint32_t NumSections; member
/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()
DMachOObjectFile.cpp286 if (DRI.d.b < SegmentLoadCmd->NumSections) in moveToNextSection()
291 if (DRI.d.b < Segment64LoadCmd->NumSections) in moveToNextSection()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachObjectWriter.h158 void WriteSegmentLoadCommand(unsigned NumSections,
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h169 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()
/external/llvm/tools/obj2yaml/
Dcoff2yaml.cpp102 void COFFDumper::dumpSections(unsigned NumSections) { in dumpSections() argument
/external/llvm/lib/Object/
DCOFFObjectFile.cpp820 int NumSections = in section_end() local
822 Ret.p = reinterpret_cast<uintptr_t>(SectionTable + NumSections); in section_end()