Lines Matching refs:section
43 // SectionMap will cause the output order change in .text section and leads to
50 /// shouldKeep - check the section name for the keep sections
61 /// shouldProcessGC - check if the section kind is handled in GC
109 // section
131 // bypass the discarded relocation section
132 // 1. its section kind is changed to Ignore. (The target section is a
133 // discarded group section.)
168 // of this section, create an entry in ReachedSections map
190 LDSection* section = *sect;
191 if (!mayProcessGC(*section))
195 sect_map.find(input_name, section->name()).second;
197 shouldKeep(section->name()))
198 pEntry.push_back(section);
297 // add section from the work_list to the referencedSections until every
302 // add section to the ReferencedSections, if the section has been put into
303 // referencedSections, skip this section
307 // get the section reached list, if the section do not has one, which
326 // Traverse all the input Regular and BSS sections, if a section is not found
332 LDSection* section = *sect;
333 if (!mayProcessGC(*section))
336 if (m_ReferencedSections.find(section) == m_ReferencedSections.end()) {
337 section->setKind(LDFileFormat::Ignore);
338 debug(diag::debug_print_gc_sections) << section->name()
344 // Traverse all the relocation sections, if its target section is set to
345 // Ignore, then set the relocation section to Ignore as well