Lines Matching refs:seg
146 ELFSegmentFactory::iterator seg, segEnd = target().elfSegmentTable().end(); in writeObject() local
148 for (seg = target().elfSegmentTable().begin(); seg != segEnd; ++seg) { in writeObject()
149 if (llvm::ELF::PT_LOAD == (*seg)->type()) { in writeObject()
150 ELFSegment::iterator sect, sectEnd = (*seg)->end(); in writeObject()
151 for (sect = (*seg)->begin(); sect != sectEnd; ++sect) in writeObject()
349 ELFSegmentFactory::const_iterator seg = target().elfSegmentTable().begin(), in emitProgramHeader() local
351 for (; seg != segEnd; ++seg, ++index) { in emitProgramHeader()
352 phdr[index].p_type = (*seg)->type(); in emitProgramHeader()
353 phdr[index].p_flags = (*seg)->flag(); in emitProgramHeader()
354 phdr[index].p_offset = (*seg)->offset(); in emitProgramHeader()
355 phdr[index].p_vaddr = (*seg)->vaddr(); in emitProgramHeader()
356 phdr[index].p_paddr = (*seg)->paddr(); in emitProgramHeader()
357 phdr[index].p_filesz = (*seg)->filesz(); in emitProgramHeader()
358 phdr[index].p_memsz = (*seg)->memsz(); in emitProgramHeader()
359 phdr[index].p_align = (*seg)->align(); in emitProgramHeader()