Lines Matching refs:sect
308 LDContext::sect_iterator sect, sectEnd = (*obj)->context()->sectEnd();
309 for (sect = (*obj)->context()->sectBegin(); sect != sectEnd; ++sect) {
310 switch ((*sect)->kind()) {
321 if (!(*sect)->hasRelocData())
324 if ((*sect)->getLink()->kind() == LDFileFormat::Ignore ||
325 (*sect)->getLink()->kind() == LDFileFormat::Folded)
326 (*sect)->setKind(LDFileFormat::Ignore);
330 if (!m_LDBackend.mergeSection(*m_pModule, **obj, **sect)) {
331 error(diag::err_cannot_merge_section) << (*sect)->name()
337 if (!(*sect)->hasEhFrame())
341 if (NULL != (out_sect = builder.MergeSection(**obj, **sect))) {
342 if (!m_LDBackend.updateSectionFlags(*out_sect, **sect)) {
343 error(diag::err_cannot_merge_section) << (*sect)->name()
351 if (!(*sect)->hasSectionData())
355 if (NULL != (out_sect = builder.MergeSection(**obj, **sect))) {
356 if (!m_LDBackend.updateSectionFlags(*out_sect, **sect)) {
357 error(diag::err_cannot_merge_section) << (*sect)->name()
613 Module::iterator sect, sEnd = m_pModule->end();
614 for (sect = m_pModule->begin(); sect != sEnd; ++sect) {
615 m_pModule->getSectionSymbolSet().finalize(**sect,