Lines Matching refs:Seg
217 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in printDarwinSectionSizes() local
218 outs() << "Segment " << Seg.segname << ": " in printDarwinSectionSizes()
219 << format(fmt.str().c_str(), Seg.vmsize); in printDarwinSectionSizes()
221 outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff " in printDarwinSectionSizes()
222 << Seg.fileoff << ")"; in printDarwinSectionSizes()
224 total += Seg.vmsize; in printDarwinSectionSizes()
226 for (unsigned J = 0; J < Seg.nsects; ++J) { in printDarwinSectionSizes()
240 if (Seg.nsects != 0) in printDarwinSectionSizes()
243 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes() local
244 uint64_t Seg_vmsize = Seg.vmsize; in printDarwinSectionSizes()
245 outs() << "Segment " << Seg.segname << ": " in printDarwinSectionSizes()
248 outs() << " (vmaddr 0x" << format("%" PRIx32, Seg.vmaddr) << " fileoff " in printDarwinSectionSizes()
249 << Seg.fileoff << ")"; in printDarwinSectionSizes()
251 total += Seg.vmsize; in printDarwinSectionSizes()
253 for (unsigned J = 0; J < Seg.nsects; ++J) { in printDarwinSectionSizes()
268 if (Seg.nsects != 0) in printDarwinSectionSizes()
286 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in printDarwinSegmentSizes() local
288 for (unsigned J = 0; J < Seg.nsects; ++J) { in printDarwinSegmentSizes()
301 StringRef SegmentName = StringRef(Seg.segname); in printDarwinSegmentSizes()
303 total_text += Seg.vmsize; in printDarwinSegmentSizes()
305 total_data += Seg.vmsize; in printDarwinSegmentSizes()
307 total_objc += Seg.vmsize; in printDarwinSegmentSizes()
309 total_others += Seg.vmsize; in printDarwinSegmentSizes()
312 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSegmentSizes() local
314 for (unsigned J = 0; J < Seg.nsects; ++J) { in printDarwinSegmentSizes()
327 StringRef SegmentName = StringRef(Seg.segname); in printDarwinSegmentSizes()
329 total_text += Seg.vmsize; in printDarwinSegmentSizes()
331 total_data += Seg.vmsize; in printDarwinSegmentSizes()
333 total_objc += Seg.vmsize; in printDarwinSegmentSizes()
335 total_others += Seg.vmsize; in printDarwinSegmentSizes()