Lines Matching defs:PhdrEntry
68 SmallVector<PhdrEntry *, 0> createPhdrs(Partition &part);
98 static void removeEmptyPTLoad(SmallVector<PhdrEntry *, 0> &phdrs) {
100 phdrs.begin(), phdrs.end(), [&](const PhdrEntry *p) {
111 DenseSet<PhdrEntry *> removed(it, phdrs.end());
780 void PhdrEntry::add(OutputSection *sec) {
831 PhdrEntry *last = nullptr;
837 for (PhdrEntry *p : part.phdrs) {
1946 for (PhdrEntry *p : mainPart->phdrs)
2157 SmallVector<PhdrEntry *, 0> Writer<ELFT>::createPhdrs(Partition &part) {
2158 SmallVector<PhdrEntry *, 0> ret;
2159 auto addHdr = [&](unsigned type, unsigned flags) -> PhdrEntry * {
2160 ret.push_back(make<PhdrEntry>(type, flags));
2169 PhdrEntry *load = nullptr;
2199 PhdrEntry *relRo = make<PhdrEntry>(PT_GNU_RELRO, PF_R);
2276 PhdrEntry *tlsHdr = make<PhdrEntry>(PT_TLS, PF_R);
2336 PhdrEntry *note = nullptr;
2361 PhdrEntry *entry = make<PhdrEntry>(pType, pFlags);
2370 const PhdrEntry *prev;
2371 auto pageAlign = [&](const PhdrEntry *p) {
2426 for (const PhdrEntry *p : part.phdrs)
2490 PhdrEntry *lastRX = nullptr;
2492 for (PhdrEntry *p : part.phdrs)
2545 for (PhdrEntry *p : part.phdrs) {
2798 for (PhdrEntry *p : part.phdrs)
2809 PhdrEntry *last = nullptr;
2810 for (PhdrEntry *p : part.phdrs)