Lines Matching refs:rels

143     ret.rels = ArrayRef(reinterpret_cast<const typename ELFT::Rel *>(  in relsOrRelas()
381 auto rels = llvm::make_range(MapRelIter(rawRels.begin(), mapRel), in copyRelocations() local
383 copyRelocations<ELFT, RelTy>(buf, rels); in copyRelocations()
392 llvm::iterator_range<RelIt> rels) { in copyRelocations() argument
397 for (const Relocation &rel : rels) { in copyRelocations()
897 void InputSection::relocateNonAlloc(uint8_t *buf, ArrayRef<RelTy> rels) { in relocateNonAlloc() argument
918 for (size_t i = 0, relsSize = rels.size(); i != relsSize; ++i) { in relocateNonAlloc()
919 const RelTy &rel = rels[i]; in relocateNonAlloc()
935 rels[i].getType(/*isMips64EL=*/false) == R_RISCV_SUB_ULEB128 && in relocateNonAlloc()
936 rels[i].r_offset == offset) { in relocateNonAlloc()
942 (getFile<ELFT>()->getRelocTargetSym(rels[i]).getVA(0) + in relocateNonAlloc()
943 getAddend<ELFT>(rels[i])); in relocateNonAlloc()
1058 const RelsOrRelas<ELFT> rels = sec->template relsOrRelas<ELFT>(); in relocate() local
1059 if (rels.areRelocsRel()) in relocate()
1060 sec->relocateNonAlloc<ELFT>(buf, rels.rels); in relocate()
1062 sec->relocateNonAlloc<ELFT>(buf, rels.relas); in relocate()
1237 const RelsOrRelas<ELFT> rels = relsOrRelas<ELFT>(); in split() local
1240 if (rels.areRelocsRel()) { in split()
1242 split<ELFT>(sortRels(rels.rels, storage)); in split()
1245 split<ELFT>(sortRels(rels.relas, storage)); in split()
1250 void EhInputSection::split(ArrayRef<RelTy> rels) { in split() argument
1276 while (relI != rels.size() && rels[relI].r_offset < off) in split()
1279 if (relI != rels.size() && rels[relI].r_offset < off + size) in split()