Lines Matching defs:sections
66 // sections are smaller than 4 GiB, which is not an unreasonable
201 // For output sections we treat offset -1 as the end of the section.
337 ArrayRef<InputSectionBase *> sections = file.getSections();
338 auto it = llvm::find(sections, &sec);
339 uint64_t sectionIndex = it != sections.end()
340 ? it - sections.begin()
417 ArrayRef<InputSectionBase *> sections = file->getSections();
420 OutputSection *osec = sections[idx]->getOutputSection();
429 ArrayRef<InputSectionBase *> sections = file->getSections();
430 return sections[info];
500 // .eh_frame is horribly special and can reference discarded sections. To
502 // relocation in it pointing to discarded sections with R_*_NONE, which
504 // on .gcc_except_table and debug sections.
548 // For SHF_ALLOC sections relocated by REL, append a relocation to
550 // writeSections will update the implicit addend. Non-SHF_ALLOC sections
1009 // This function applies relocations to sections without SHF_ALLOC bit.
1010 // Such sections are never mapped to memory at runtime. Debug sections are
1011 // an example. Relocations in non-alloc sections are much easier to
1012 // handle than in allocated sections because it will never need complex
1014 // So, we handle relocations for non-alloc sections directly in this
1084 // .debug_* sections. We have to ignore the addend because we don't want
1093 // --gc-sections, COMDAT, etc), it has been converted to a Undefined.
1126 // sections.
1329 // another partition, the replacement section (and its associated sections)
1484 // This function is called after we obtain a complete list of input sections