Home
last modified time | relevance | path

Searched refs:phdrs (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DLinkerScript.cpp1143 SmallVector<StringRef, 0> &phdrs) { in maybePropagatePhdrs() argument
1144 if (sec.phdrs.empty()) { in maybePropagatePhdrs()
1148 sec.phdrs = phdrs; in maybePropagatePhdrs()
1150 phdrs = sec.phdrs; in maybePropagatePhdrs()
1292 void LinkerScript::allocateHeaders(SmallVector<PhdrEntry *, 0> &phdrs) { in allocateHeaders() argument
1299 phdrs, [](const PhdrEntry *e) { return e->p_type == PT_LOAD; }); in allocateHeaders()
1300 if (it == phdrs.end()) in allocateHeaders()
1326 llvm::erase_if(phdrs, in allocateHeaders()
1463 for (StringRef s : cmd->phdrs) { in getPhdrIndices()
H A DWriter.cpp104 phdrs.begin(), phdrs.end(), [&](const PhdrEntry *p) { in removeEmptyPTLoad()
119 phdrs.erase(it, phdrs.end()); in removeEmptyPTLoad()
619 removeEmptyPTLoad(part.phdrs); in run()
1112 for (PhdrEntry *p : part.phdrs) { in setReservedSymbolSections()
2165 for (PhdrEntry *p : mainPart->phdrs) in finalizeSections()
2565 part.phdrs.push_back(entry); in addPhdrForSection()
2628 for (const PhdrEntry *p : part.phdrs) in fixSectionAlignments()
2694 for (PhdrEntry *p : part.phdrs) in assignFileOffsets()
2746 for (PhdrEntry *p : part.phdrs) { in setPhdrs()
2999 for (PhdrEntry *p : part.phdrs) in writeTrapInstr()
[all …]
H A DOutputSections.h87 SmallVector<StringRef, 0> phdrs; variable
H A DScriptParser.cpp918 osd->osec.phdrs = readOutputSectionPhdrs(); in readOverlaySectionDescription()
1001 osec->phdrs = readOutputSectionPhdrs(); in readOutputSectionDescription()
1582 SmallVector<StringRef, 0> phdrs; in readOutputSectionPhdrs() local
1585 phdrs.push_back((tok.size() == 1) ? next() : tok.substr(1)); in readOutputSectionPhdrs()
1587 return phdrs; in readOutputSectionPhdrs()
H A DLinkerScript.h335 void allocateHeaders(SmallVector<PhdrEntry *, 0> &phdrs);
H A DSyntheticSections.h1306 SmallVector<PhdrEntry *, 0> phdrs; member
H A DSyntheticSections.cpp3756 eHdr->e_phnum = part.phdrs.size(); in writeEhdr()
3768 for (PhdrEntry *p : part.phdrs) { in writePhdrs()
3805 return sizeof(typename ELFT::Phdr) * getPartition().phdrs.size(); in getSize()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp1237 char *phdrs = base + ehdr->e_phoff; in ForEachMappedRegion() local
1238 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion()
1244 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
1253 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()