reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
24 struct PhdrEntry;
tools/lld/ELF/SyntheticSections.h 34 struct PhdrEntry;
103 return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h81 template <typename T> T *Allocate(size_t Num = 1) { 82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) 470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) 478 char *Begin = (char *)alignAddr(*I, Align::Of<T>()); 488 DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()), 496 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); } 496 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }tools/lld/ELF/InputSection.cpp
621 PhdrEntry *tls = Out::tlsPhdr;
tools/lld/ELF/LinkerScript.cpp796 static OutputSection *findFirstSection(PhdrEntry *load) { 839 if (PhdrEntry *l = ctx->outSec->ptLoad) 1032 void LinkerScript::allocateHeaders(std::vector<PhdrEntry *> &phdrs) { 1042 PhdrEntry *firstPTLoad = *it; 1116 std::vector<PhdrEntry *> LinkerScript::createPhdrs() { 1117 std::vector<PhdrEntry *> ret; 1122 PhdrEntry *phdr = make<PhdrEntry>(cmd.type, cmd.flags ? *cmd.flags : PF_R); 1122 PhdrEntry *phdr = make<PhdrEntry>(cmd.type, cmd.flags ? *cmd.flags : PF_R);tools/lld/ELF/LinkerScript.h
276 std::vector<PhdrEntry *> createPhdrs(); 281 void allocateHeaders(std::vector<PhdrEntry *> &phdrs);tools/lld/ELF/OutputSections.cpp
35 PhdrEntry *Out::tlsPhdr;
tools/lld/ELF/OutputSections.h57 PhdrEntry *ptLoad = nullptr; 129 static PhdrEntry *tlsPhdr;tools/lld/ELF/SyntheticSections.cpp
3517 for (PhdrEntry *p : part.phdrs) {
tools/lld/ELF/SyntheticSections.h 1121 std::vector<PhdrEntry *> phdrs;
tools/lld/ELF/Writer.cpp64 std::vector<PhdrEntry *> createPhdrs(Partition &part); 144 static void removeEmptyPTLoad(std::vector<PhdrEntry *> &phdrs) { 1055 PhdrEntry *last = nullptr; 1056 PhdrEntry *lastRO = nullptr; 1059 for (PhdrEntry *p : part.phdrs) { 1866 for (PhdrEntry *p : mainPart->phdrs) 2049 std::vector<PhdrEntry *> Writer<ELFT>::createPhdrs(Partition &part) { 2050 std::vector<PhdrEntry *> ret; 2052 ret.push_back(make<PhdrEntry>(type, flags)); 2061 PhdrEntry *load = nullptr; 2091 PhdrEntry *relRo = make<PhdrEntry>(PT_GNU_RELRO, PF_R); 2091 PhdrEntry *relRo = make<PhdrEntry>(PT_GNU_RELRO, PF_R); 2150 PhdrEntry *tlsHdr = make<PhdrEntry>(PT_TLS, PF_R); 2150 PhdrEntry *tlsHdr = make<PhdrEntry>(PT_TLS, PF_R); 2193 PhdrEntry *note = nullptr; 2218 PhdrEntry *entry = make<PhdrEntry>(pType, pFlags); 2218 PhdrEntry *entry = make<PhdrEntry>(pType, pFlags); 2227 const PhdrEntry *prev; 2280 for (const PhdrEntry *p : part.phdrs) 2342 PhdrEntry *lastRX = nullptr; 2344 for (PhdrEntry *p : part.phdrs) 2384 for (PhdrEntry *p : part.phdrs) { 2629 for (PhdrEntry *p : part.phdrs) 2639 PhdrEntry *last = nullptr; 2640 for (PhdrEntry *p : part.phdrs)tools/lld/include/lld/Common/Memory.h
47 llvm::SpecificBumpPtrAllocator<T> alloc; 52 template <typename T, typename... U> T *make(U &&... args) { 53 static SpecificAlloc<T> alloc; 54 return new (alloc.alloc.Allocate()) T(std::forward<U>(args)...);