Lines Matching defs:PhdrEntry
68 SmallVector<std::unique_ptr<PhdrEntry>, 0> createPhdrs(Partition &part);
102 removeEmptyPTLoad(Ctx &ctx, SmallVector<std::unique_ptr<PhdrEntry>, 0> &phdrs) {
114 DenseSet<PhdrEntry *> removed;
798 void PhdrEntry::add(OutputSection *sec) {
854 PhdrEntry *last = nullptr;
1458 PhdrEntry *curPtLoad = nullptr;
2243 SmallVector<std::unique_ptr<PhdrEntry>, 0>
2245 SmallVector<std::unique_ptr<PhdrEntry>, 0> ret;
2246 auto addHdr = [&, &ctx = ctx](unsigned type, unsigned flags) -> PhdrEntry * {
2247 ret.push_back(std::make_unique<PhdrEntry>(ctx, type, flags));
2256 PhdrEntry *load = nullptr;
2286 auto relRo = std::make_unique<PhdrEntry>(ctx, PT_GNU_RELRO, PF_R);
2363 auto tlsHdr = std::make_unique<PhdrEntry>(ctx, PT_TLS, PF_R);
2428 PhdrEntry *note = nullptr;
2453 auto entry = std::make_unique<PhdrEntry>(ctx, pType, pFlags);
2462 const PhdrEntry *prev;
2463 auto pageAlign = [&, &ctx = this->ctx](const PhdrEntry *p) {
2581 PhdrEntry *lastRX = nullptr;
2638 for (std::unique_ptr<PhdrEntry> &p : part.phdrs) {
2898 for (std::unique_ptr<PhdrEntry> &p : part.phdrs)
2909 PhdrEntry *last = nullptr;
2910 for (std::unique_ptr<PhdrEntry> &p : part.phdrs)