Lines Matching refs:PhdrEntry
67 SmallVector<PhdrEntry *, 0> createPhdrs(Partition &part);
102 static void removeEmptyPTLoad(SmallVector<PhdrEntry *, 0> &phdrs) { in removeEmptyPTLoad() argument
104 phdrs.begin(), phdrs.end(), [&](const PhdrEntry *p) { in removeEmptyPTLoad()
115 DenseSet<PhdrEntry *> removed(it, phdrs.end()); in removeEmptyPTLoad()
1009 void PhdrEntry::add(OutputSection *sec) { in add()
1064 PhdrEntry *last = nullptr; in setReservedSymbolSections()
1065 PhdrEntry *lastRO = nullptr; in setReservedSymbolSections()
1068 for (PhdrEntry *p : part.phdrs) { in setReservedSymbolSections()
2083 for (PhdrEntry *p : mainPart->phdrs) in finalizeSections()
2286 SmallVector<PhdrEntry *, 0> Writer<ELFT>::createPhdrs(Partition &part) { in createPhdrs()
2287 SmallVector<PhdrEntry *, 0> ret; in createPhdrs()
2288 auto addHdr = [&](unsigned type, unsigned flags) -> PhdrEntry * { in createPhdrs()
2289 ret.push_back(make<PhdrEntry>(type, flags)); in createPhdrs()
2298 PhdrEntry *load = nullptr; in createPhdrs()
2328 PhdrEntry *relRo = make<PhdrEntry>(PT_GNU_RELRO, PF_R); in createPhdrs()
2384 PhdrEntry *tlsHdr = make<PhdrEntry>(PT_TLS, PF_R); in createPhdrs()
2432 PhdrEntry *note = nullptr; in createPhdrs()
2457 PhdrEntry *entry = make<PhdrEntry>(pType, pFlags); in addPhdrForSection()
2466 const PhdrEntry *prev; in fixSectionAlignments()
2467 auto pageAlign = [&](const PhdrEntry *p) { in fixSectionAlignments()
2522 for (const PhdrEntry *p : part.phdrs) in fixSectionAlignments()
2586 PhdrEntry *lastRX = nullptr; in assignFileOffsets()
2588 for (PhdrEntry *p : part.phdrs) in assignFileOffsets()
2640 for (PhdrEntry *p : part.phdrs) { in setPhdrs()
2885 for (PhdrEntry *p : part.phdrs) in writeTrapInstr()
2896 PhdrEntry *last = nullptr; in writeTrapInstr()
2897 for (PhdrEntry *p : part.phdrs) in writeTrapInstr()