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