Lines Matching defs:InputSection
97 // InputSection post finalizeInputSections(), then you must do the following:
99 // 1. Find or create an InputSectionDescription to hold InputSection.
100 // 2. Add the InputSection to the InputSectionDescription::sections.
111 // Update fields (type, flags, alignment, etc) according to the InputSection
112 // isec. Also check whether the InputSection flags and type are consistent with
114 void OutputSection::commitSection(InputSection *isec) {
209 isd->sections.push_back(cast<InputSection>(s));
253 for (InputSection *s : isd->sections)
272 static void sortByOrder(MutableArrayRef<InputSection *> in,
274 std::vector<std::pair<int, InputSection *>> v;
275 for (InputSection *s : in)
529 ArrayRef<InputSection *> sections = getInputSections(*this, storage);
544 InputSection *isec = sections[i];
607 InputSection *section) {
621 // new size. The content will be rewritten in InputSection::copyShtGroup.
676 Elf_Crel<ELFT::Is64Bits> &out, InputSection *relSec,
702 for (InputSection *relSec : isd->sections) {
732 InputSection *first = getFirstInputSection(this);
737 // need to translate the InputSection sh_link to the OutputSection sh_link,
809 static bool compCtors(const InputSection *a, const InputSection *b) {
844 InputSection *elf::getFirstInputSection(const OutputSection *os) {
852 ArrayRef<InputSection *>
854 SmallVector<InputSection *, 0> &storage) {
855 ArrayRef<InputSection *> ret;
894 SmallVector<InputSection *, 0> storage;
895 ArrayRef<InputSection *> sections = getInputSections(*this, storage);