Home
last modified time | relevance | path

Searched refs:PhdrEntry (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.h22 struct PhdrEntry;
59 PhdrEntry *ptLoad = nullptr;
158 static PhdrEntry *tlsPhdr;
H A DWriter.cpp68 SmallVector<PhdrEntry *, 0> createPhdrs(Partition &part);
98 static void removeEmptyPTLoad(SmallVector<PhdrEntry *, 0> &phdrs) { in removeEmptyPTLoad() argument
100 phdrs.begin(), phdrs.end(), [&](const PhdrEntry *p) { in removeEmptyPTLoad()
111 DenseSet<PhdrEntry *> removed(it, phdrs.end()); in removeEmptyPTLoad()
780 void PhdrEntry::add(OutputSection *sec) { in add()
831 PhdrEntry *last = nullptr; in setReservedSymbolSections()
837 for (PhdrEntry *p : part.phdrs) { in setReservedSymbolSections()
1946 for (PhdrEntry *p : mainPart->phdrs) in finalizeSections()
2157 SmallVector<PhdrEntry *, 0> Writer<ELFT>::createPhdrs(Partition &part) { in createPhdrs()
2158 SmallVector<PhdrEntry *, 0> ret; in createPhdrs()
[all …]
H A DWriter.h25 struct PhdrEntry { struct
26 PhdrEntry(unsigned type, unsigned flags) in PhdrEntry() function
H A DLinkerScript.cpp1022 static OutputSection *findFirstSection(PhdrEntry *load) { in findFirstSection()
1094 if (PhdrEntry *l = sec->ptLoad) in assignOffsets()
1341 void LinkerScript::allocateHeaders(SmallVector<PhdrEntry *, 0> &phdrs) { in allocateHeaders() argument
1348 phdrs, [](const PhdrEntry *e) { return e->p_type == PT_LOAD; }); in allocateHeaders()
1351 PhdrEntry *firstPTLoad = *it; in allocateHeaders()
1376 [](const PhdrEntry *e) { return e->p_type == PT_PHDR; }); in allocateHeaders()
1537 SmallVector<PhdrEntry *, 0> LinkerScript::createPhdrs() { in createPhdrs()
1538 SmallVector<PhdrEntry *, 0> ret; in createPhdrs()
1543 PhdrEntry *phdr = make<PhdrEntry>(cmd.type, cmd.flags.value_or(PF_R)); in createPhdrs()
H A DLinkerScript.h343 SmallVector<PhdrEntry *, 0> createPhdrs();
350 void allocateHeaders(SmallVector<PhdrEntry *, 0> &phdrs);
H A DSyntheticSections.h42 struct PhdrEntry;
1452 SmallVector<PhdrEntry *, 0> phdrs;
H A DOutputSections.cpp43 PhdrEntry *Out::tlsPhdr;
H A DInputSection.cpp682 PhdrEntry *tls = Out::tlsPhdr; in getTlsTpOffset()
H A DSyntheticSections.cpp4388 for (PhdrEntry *p : part.phdrs) { in writePhdrs()