Home
last modified time | relevance | path

Searched refs:RelTy (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/lld/ELF/
H A DICF.cpp105 template <class RelTy>
106 bool constantEq(const InputSection *a, ArrayRef<RelTy> relsA,
107 const InputSection *b, ArrayRef<RelTy> relsB);
109 template <class RelTy>
110 bool variableEq(const InputSection *a, ArrayRef<RelTy> relsA,
111 const InputSection *b, ArrayRef<RelTy> relsB);
237 template <class RelTy>
333 template <class RelTy>
438 template <class ELFT, class RelTy>
440 ArrayRef<RelTy> rels) { in combineRelocHashes()
[all …]
H A DDWARF.cpp77 template <class RelTy> struct LLDRelocationResolver {
104 template <class RelTy>
107 ArrayRef<RelTy> rels) const { in findAux()
109 partition_point(rels, [=](const RelTy &a) { return a.r_offset < pos; }); in findAux()
112 const RelTy &rel = *it; in findAux()
132 0, LLDRelocationResolver<RelTy>::resolve}; in findAux()
H A DRelocations.h203 template <typename RelTy>
204 ArrayRef<RelTy> sortRels(ArrayRef<RelTy> rels, SmallVector<RelTy, 0> &storage) { in sortRels() argument
205 auto cmp = [](const RelTy &a, const RelTy &b) { in sortRels()
H A DMarkLive.cpp57 template <class RelTy>
58 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool fromFDE);
60 template <class RelTy>
61 void scanEhFrameSection(EhInputSection &eh, ArrayRef<RelTy> rels);
89 template <class RelTy>
90 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, in resolveReloc()
143 template <class RelTy>
145 ArrayRef<RelTy> rels) { in scanEhFrameSection()
H A DRelocations.cpp437 template <class ELFT, class RelTy> void scan(ArrayRef<RelTy> rels);
448 template <class RelTy> RelType getMipsN32RelType(RelTy *&rel) const;
457 template <class ELFT, class RelTy> void scanOne(RelTy *&i);
473 if (RelTy::IsRela) in computeMipsAddend()
486 for (const RelTy *ri = &rel; ri != static_cast<const RelTy *>(end); ++ri) in computeMipsAddend()
505 if (RelTy::IsRela) { in computeAddend()
855 template <class RelTy>
1294 template <class ELFT, class RelTy> void RelocationScanner::scanOne(RelTy *&i) { in scanOne()
1295 const RelTy &rel = *i; in scanOne()
1451 template <class RelTy>
[all …]
H A DInputSection.h330 template <class ELFT, class RelTy> void split(ArrayRef<RelTy> rels);
373 template <class ELFT, class RelTy>
374 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
389 template <class ELFT, class RelTy>
390 void copyRelocations(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
H A DInputSection.cpp342 template <class ELFT, class RelTy>
348 for (const RelTy &rel : rels) { in copyRelocations()
354 buf += sizeof(RelTy); in copyRelocations()
356 if (RelTy::IsRela) in copyRelocations()
400 if (!RelTy::IsRela) in copyRelocations()
419 if (RelTy::IsRela) in copyRelocations()
816 template <class ELFT, class RelTy>
831 for (const RelTy &rel : rels) { in relocateNonAlloc()
844 if (!RelTy::IsRela) in relocateNonAlloc()
1264 template <class IntTy, class RelTy>
[all …]
H A DDWARF.h84 template <class RelTy>
87 ArrayRef<RelTy> rels) const;
H A DSyntheticSections.h98 template <class ELFT, class RelTy>
99 void addRecords(EhInputSection *s, llvm::ArrayRef<RelTy> rels);
101 template <class ELFT, class RelTy>
102 void iterateFDEWithLSDAAux(EhInputSection &sec, ArrayRef<RelTy> rels,
106 template <class ELFT, class RelTy>
107 CieRecord *addCie(EhSectionPiece &piece, ArrayRef<RelTy> rels);
109 template <class ELFT, class RelTy>
110 Defined *isFdeLive(EhSectionPiece &piece, ArrayRef<RelTy> rels);
H A DSyntheticSections.cpp355 template <class ELFT, class RelTy>
356 CieRecord *EhFrameSection::addCie(EhSectionPiece &cie, ArrayRef<RelTy> rels) { in addCie()
377 template <class ELFT, class RelTy>
378 Defined *EhFrameSection::isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels) { in isFdeLive()
390 const RelTy &rel = rels[firstRelI]; in isFdeLive()
405 template <class ELFT, class RelTy>
406 void EhFrameSection::addRecords(EhInputSection *sec, ArrayRef<RelTy> rels) { in addRecords()
456 template <class ELFT, class RelTy>
458 EhInputSection &sec, ArrayRef<RelTy> rels, DenseSet<size_t> &ciesWithLSDA, in iterateFDEWithLSDAAux()
H A DWriter.cpp614 template <class ELFT, class RelTy>
616 llvm::ArrayRef<RelTy> rels) { in markUsedLocalSymbolsImpl()
617 for (const RelTy &rel : rels) { in markUsedLocalSymbolsImpl()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp60 template <typename RelTy> void printRelocation(RelTy Reloc);
61 template <typename Shdr, typename RelTy>
151 template <typename RelTy> void XCOFFDumper::printRelocation(RelTy Reloc) { in printRelocation()
176 template <typename Shdr, typename RelTy>
186 Expected<ArrayRef<RelTy>> ErrOrRelocations = Obj.relocations<Shdr, RelTy>(Sec); in printRelocations()
192 const ArrayRef<RelTy> Relocations = *ErrOrRelocations; in printRelocations()
200 for (const RelTy Reloc : Relocations) in printRelocations()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp2366 unsigned RelTy = R.getType(); in relocationNeedsGot() local
2368 return RelTy == ELF::R_AARCH64_ADR_GOT_PAGE || in relocationNeedsGot()
2369 RelTy == ELF::R_AARCH64_LD64_GOT_LO12_NC; in relocationNeedsGot()
2372 return RelTy == ELF::R_X86_64_GOTPCREL || in relocationNeedsGot()
2373 RelTy == ELF::R_X86_64_GOTPCRELX || in relocationNeedsGot()
2374 RelTy == ELF::R_X86_64_GOT64 || in relocationNeedsGot()
2375 RelTy == ELF::R_X86_64_REX_GOTPCRELX; in relocationNeedsGot()