Lines Matching refs:isec

27   InputSection *isec;  member
31 WhyLiveEntry(InputSection *isec, const WhyLiveEntry *prev) in WhyLiveEntry()
32 : isec(isec), prev(prev) {} in WhyLiveEntry()
39 virtual void enqueue(InputSection *isec, uint64_t off) = 0;
54 void enqueue(InputSection *isec, uint64_t off) override { in enqueue() argument
55 enqueue(isec, off, nullptr); in enqueue()
61 void enqueue(InputSection *isec, uint64_t off, const WorklistEntry *prev);
76 InputSection *isec, uint64_t off, in enqueue() argument
78 if (isec->isLive(off)) in enqueue()
80 isec->markLive(off); in enqueue()
81 if (auto s = dyn_cast<ConcatInputSection>(isec)) { in enqueue()
92 const TinyPtrVector<Defined *> &symbols = entry->isec->symbols; in printWhyLive()
113 if (d->isec()) in addSym()
114 enqueue(d->isec(), d->value, prev); in addSym()
124 return entry->isec; in getInputSection()
132 InputSection *isec, in makeEntry() argument
135 if (!isec) { in makeEntry()
139 return make<WhyLiveEntry>(isec, prev); in makeEntry()
141 return isec; in makeEntry()
155 auto *isec = cast<ConcatInputSection>(getInputSection(entry)); in markTransitively() local
156 assert(isec->live && "We mark as live when pushing onto the worklist!"); in markTransitively()
159 for (const Reloc &r : isec->relocs) { in markTransitively()
171 for (ConcatInputSection *isec : inputSections) { in markTransitively()
174 if (!(isec->getFlags() & S_ATTR_LIVE_SUPPORT) || isec->live) in markTransitively()
177 for (const Reloc &r : isec->relocs) { in markTransitively()
182 referentIsec = d->isec(); in markTransitively()
183 enqueue(isec, 0, makeEntry(referentIsec, nullptr)); in markTransitively()
188 enqueue(isec, 0, makeEntry(referentIsec, nullptr)); in markTransitively()
261 for (ConcatInputSection *isec : inputSections) { in markLive()
263 if (isec->getFlags() & S_ATTR_NO_DEAD_STRIP) { in markLive()
264 marker->enqueue(isec, 0); in markLive()
269 if (sectionType(isec->getFlags()) == S_MOD_INIT_FUNC_POINTERS || in markLive()
270 sectionType(isec->getFlags()) == S_MOD_TERM_FUNC_POINTERS) { in markLive()
272 sectionType(isec->getFlags()) != S_MOD_INIT_FUNC_POINTERS); in markLive()
273 marker->enqueue(isec, 0); in markLive()
278 for (ConcatInputSection *isec : in.initOffsets->inputs()) in markLive()
279 marker->enqueue(isec, 0); in markLive()