Home
last modified time | relevance | path

Searched refs:relSec (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp662 InputSection *relSec, InputSectionBase *sec) { in relToCrel() argument
663 const auto &file = *cast<ELFFileBase>(relSec->file); in relToCrel()
664 if (relSec->type == SHT_REL) { in relToCrel()
666 errorOrWarn(toString(relSec) + ": REL cannot be converted to CREL"); in relToCrel()
669 auto rels = relSec->getDataAs<typename ELFT::Rela>(); in relToCrel()
687 for (InputSection *relSec : isd->sections) { in finalizeNonAllocCrel()
688 const auto &file = *cast<ELFFileBase>(relSec->file); in finalizeNonAllocCrel()
689 InputSectionBase *sec = relSec->getRelocatedSection(); in finalizeNonAllocCrel()
690 if (relSec->type == SHT_CREL) { in finalizeNonAllocCrel()
691 RelocsCrel<is64> entries(relSec->content_); in finalizeNonAllocCrel()
[all …]
H A DMarkLive.cpp104 auto *relSec = dyn_cast_or_null<InputSectionBase>(d->section); in resolveReloc() local
105 if (!relSec) in resolveReloc()
120 if (!(fromFDE && ((relSec->flags & (SHF_EXECINSTR | SHF_LINK_ORDER)) || in resolveReloc()
121 relSec->nextInSectionGroup))) in resolveReloc()
122 enqueue(relSec, offset); in resolveReloc()
H A DICF.cpp453 if (auto *relSec = dyn_cast_or_null<InputSection>(d->section)) in combineRelocHashes() local
454 hash += relSec->eqClass[cnt % 2]; in combineRelocHashes()
H A DInputSection.cpp150 InputSectionBase *const &relSec = f->getSections()[relSecIdx]; in relsOrRelas() local
154 if (!relSec || !cast<InputSection>(relSec)->decodedCrel) { in relsOrRelas()
171 reinterpret_cast<const typename ELFT::Rela *>(relSec->content_), in relsOrRelas()
172 relSec->size / sizeof(typename ELFT::Rela))}; in relsOrRelas()
H A DLinkerScript.cpp795 if (auto *relSec = out->relocationSection) { in addInputSec() local
796 relSec->recordSection(sec); in addInputSec()
H A DWriter.cpp1671 if (auto *relSec = dyn_cast<RelocationBaseSection>(sec)) in removeUnusedSyntheticSections() local
1672 if (relSec == mainPart->relaDyn.get()) in removeUnusedSyntheticSections()