Searched refs:phdrs (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 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() 115 phdrs.erase(it, phdrs.end()); in removeEmptyPTLoad() 318 script->allocateHeaders(mainPart->phdrs); in run() 324 removeEmptyPTLoad(part.phdrs); in run() 837 for (PhdrEntry *p : part.phdrs) { in setReservedSymbolSections() 1924 part.phdrs = script->hasPhdrsCommands() ? script->createPhdrs() in finalizeSections() 1940 Out::programHeaders->size = sizeof(Elf_Phdr) * mainPart->phdrs.size(); in finalizeSections() 1946 for (PhdrEntry *p : mainPart->phdrs) in finalizeSections() [all …]
|
H A D | LinkerScript.cpp | 1190 SmallVector<StringRef, 0> &phdrs) { in maybePropagatePhdrs() argument 1191 if (sec.phdrs.empty()) { in maybePropagatePhdrs() 1195 sec.phdrs = phdrs; in maybePropagatePhdrs() 1197 phdrs = sec.phdrs; in maybePropagatePhdrs() 1341 void LinkerScript::allocateHeaders(SmallVector<PhdrEntry *, 0> &phdrs) { in allocateHeaders() argument 1348 phdrs, [](const PhdrEntry *e) { return e->p_type == PT_LOAD; }); in allocateHeaders() 1349 if (it == phdrs.end()) in allocateHeaders() 1375 llvm::erase_if(phdrs, in allocateHeaders() 1623 for (StringRef s : cmd->phdrs) { in getPhdrIndices()
|
H A D | OutputSections.h | 93 SmallVector<StringRef, 0> phdrs; variable
|
H A D | ScriptParser.cpp | 961 osd->osec.phdrs = readOutputSectionPhdrs(); in readOverlaySectionDescription() 1044 osec->phdrs = readOutputSectionPhdrs(); in readOutputSectionDescription() 1629 SmallVector<StringRef, 0> phdrs; in readOutputSectionPhdrs() local 1632 phdrs.push_back((tok.size() == 1) ? next() : tok.substr(1)); in readOutputSectionPhdrs() 1634 return phdrs; in readOutputSectionPhdrs()
|
H A D | LinkerScript.h | 350 void allocateHeaders(SmallVector<PhdrEntry *, 0> &phdrs);
|
H A D | SyntheticSections.h | 1452 SmallVector<PhdrEntry *, 0> phdrs; member
|
H A D | SyntheticSections.cpp | 4376 eHdr->e_phnum = part.phdrs.size(); in writeEhdr() 4388 for (PhdrEntry *p : part.phdrs) { in writePhdrs() 4425 return sizeof(typename ELFT::Phdr) * getPartition().phdrs.size(); in getSize()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 1306 char *phdrs = base + ehdr->e_phoff; in ForEachMappedRegion() local 1307 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion() 1313 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion() 1322 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
|