Lines Matching refs:sect
341 LDContext::sect_iterator sect, sectEnd = (*obj)->context()->sectEnd(); in mergeSections() local
342 for (sect = (*obj)->context()->sectBegin(); sect != sectEnd; ++sect) { in mergeSections()
343 switch ((*sect)->kind()) { in mergeSections()
354 if (!(*sect)->hasRelocData()) in mergeSections()
357 if ((*sect)->getLink()->kind() == LDFileFormat::Ignore || in mergeSections()
358 (*sect)->getLink()->kind() == LDFileFormat::Folded) in mergeSections()
359 (*sect)->setKind(LDFileFormat::Ignore); in mergeSections()
362 if (!m_LDBackend.mergeSection(*m_pModule, **obj, **sect)) { in mergeSections()
363 error(diag::err_cannot_merge_section) << (*sect)->name() in mergeSections()
369 if (!(*sect)->hasEhFrame()) in mergeSections()
373 if ((out_sect = builder.MergeSection(**obj, **sect)) != NULL) { in mergeSections()
374 if (!m_LDBackend.updateSectionFlags(*out_sect, **sect)) { in mergeSections()
375 error(diag::err_cannot_merge_section) << (*sect)->name() in mergeSections()
385 (*sect)->setKind(LDFileFormat::Debug); in mergeSections()
389 if (!(*sect)->hasSectionData()) in mergeSections()
393 if ((out_sect = builder.MergeSection(**obj, **sect)) != NULL) { in mergeSections()
394 if (!m_LDBackend.updateSectionFlags(*out_sect, **sect)) { in mergeSections()
395 error(diag::err_cannot_merge_section) << (*sect)->name() in mergeSections()
647 Module::iterator sect, sEnd = m_pModule->end(); in prelayout() local
648 for (sect = m_pModule->begin(); sect != sEnd; ++sect) { in prelayout()
650 **sect, in prelayout()