Lines Matching refs:seg
149 ELFSegmentFactory::iterator seg, segEnd = target().elfSegmentTable().end(); in writeObject() local
151 for (seg = target().elfSegmentTable().begin(); seg != segEnd; ++seg) { in writeObject()
152 if (llvm::ELF::PT_LOAD == (*seg)->type()) { in writeObject()
153 ELFSegment::iterator sect, sectEnd = (*seg)->end(); in writeObject()
154 for (sect = (*seg)->begin(); sect != sectEnd; ++sect) in writeObject()
358 ELFSegmentFactory::const_iterator seg = target().elfSegmentTable().begin(), in emitProgramHeader() local
360 for (; seg != segEnd; ++seg, ++index) { in emitProgramHeader()
361 phdr[index].p_type = (*seg)->type(); in emitProgramHeader()
362 phdr[index].p_flags = (*seg)->flag(); in emitProgramHeader()
363 phdr[index].p_offset = (*seg)->offset(); in emitProgramHeader()
364 phdr[index].p_vaddr = (*seg)->vaddr(); in emitProgramHeader()
365 phdr[index].p_paddr = (*seg)->paddr(); in emitProgramHeader()
366 phdr[index].p_filesz = (*seg)->filesz(); in emitProgramHeader()
367 phdr[index].p_memsz = (*seg)->memsz(); in emitProgramHeader()
368 phdr[index].p_align = (*seg)->align(); in emitProgramHeader()