| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | ICF.cpp | 107 template <class RelTy> 108 bool constantEq(const InputSection *a, ArrayRef<RelTy> relsA, 109 const InputSection *b, ArrayRef<RelTy> relsB); 111 template <class RelTy> 112 bool variableEq(const InputSection *a, ArrayRef<RelTy> relsA, 113 const InputSection *b, ArrayRef<RelTy> relsB); 239 template <class RelTy> 333 template <class RelTy> 438 template <class ELFT, class RelTy> 440 ArrayRef<RelTy> rels) { in combineRelocHashes() [all …]
|
| H A D | DWARF.cpp | 78 template <class RelTy> struct LLDRelocationResolver { 105 template <class RelTy> 108 ArrayRef<RelTy> rels) const { in findAux() 110 partition_point(rels, [=](const RelTy &a) { return a.r_offset < pos; }); in findAux() 113 const RelTy &rel = *it; in findAux() 133 0, LLDRelocationResolver<RelTy>::resolve}; in findAux()
|
| H A D | Relocations.h | 200 template <typename RelTy> 201 ArrayRef<RelTy> sortRels(ArrayRef<RelTy> rels, SmallVector<RelTy, 0> &storage) { in sortRels() argument 202 auto cmp = [](const RelTy &a, const RelTy &b) { in sortRels()
|
| H A D | MarkLive.cpp | 58 template <class RelTy> 59 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool fromFDE); 61 template <class RelTy> 62 void scanEhFrameSection(EhInputSection &eh, ArrayRef<RelTy> rels); 90 template <class RelTy> 91 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, in resolveReloc() 144 template <class RelTy> 146 ArrayRef<RelTy> rels) { in scanEhFrameSection()
|
| H A D | Relocations.cpp | 636 template <class ELFT, class RelTy> 637 static int64_t computeMipsAddend(const RelTy &rel, const RelTy *end, in computeMipsAddend() 645 if (RelTy::IsRela) in computeMipsAddend() 671 template <class ELFT, class RelTy> 672 static int64_t computeAddend(const RelTy &rel, const RelTy *end, in computeAddend() 678 if (RelTy::IsRela) { in computeAddend() 1001 template <class RelTy> static RelType getMipsN32RelType(RelTy *&rel, RelTy *end) { in getMipsN32RelType() 1306 RelTy *start, RelTy *end) { in scanReloc() 1307 const RelTy &rel = *i; in scanReloc() 1554 template <class RelTy> [all …]
|
| H A D | InputSection.h | 337 template <class ELFT, class RelTy> void split(ArrayRef<RelTy> rels); 376 template <class ELFT, class RelTy> 377 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels); 388 template <class ELFT, class RelTy> 389 void copyRelocations(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
|
| H A D | InputSection.cpp | 409 template <class ELFT, class RelTy> 413 for (const RelTy &rel : rels) { in copyRelocations() 419 buf += sizeof(RelTy); in copyRelocations() 421 if (RelTy::IsRela) in copyRelocations() 466 if (!RelTy::IsRela) in copyRelocations() 485 if (RelTy::IsRela) in copyRelocations() 873 template <class ELFT, class RelTy> 887 for (const RelTy &rel : rels) { in relocateNonAlloc() 900 if (!RelTy::IsRela) in relocateNonAlloc() 1337 template <class ELFT, class RelTy> [all …]
|
| H A D | DWARF.h | 84 template <class RelTy> 87 ArrayRef<RelTy> rels) const;
|
| H A D | SyntheticSections.h | 102 template <class ELFT, class RelTy> 103 void addRecords(EhInputSection *s, llvm::ArrayRef<RelTy> rels); 105 template <class ELFT, class RelTy> 106 void iterateFDEWithLSDAAux(EhInputSection &sec, ArrayRef<RelTy> rels, 110 template <class ELFT, class RelTy> 111 CieRecord *addCie(EhSectionPiece &piece, ArrayRef<RelTy> rels); 113 template <class ELFT, class RelTy> 114 Defined *isFdeLive(EhSectionPiece &piece, ArrayRef<RelTy> rels);
|
| H A D | SyntheticSections.cpp | 353 template <class ELFT, class RelTy> 354 CieRecord *EhFrameSection::addCie(EhSectionPiece &cie, ArrayRef<RelTy> rels) { in addCie() 375 template <class ELFT, class RelTy> 376 Defined *EhFrameSection::isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels) { in isFdeLive() 388 const RelTy &rel = rels[firstRelI]; in isFdeLive() 403 template <class ELFT, class RelTy> 404 void EhFrameSection::addRecords(EhInputSection *sec, ArrayRef<RelTy> rels) { in addRecords() 452 template <class ELFT, class RelTy> 454 EhInputSection &sec, ArrayRef<RelTy> rels, DenseSet<size_t> &ciesWithLSDA, in iterateFDEWithLSDAAux()
|
| H A D | Writer.cpp | 667 template <class ELFT, class RelTy> 669 llvm::ArrayRef<RelTy> rels) { in markUsedLocalSymbolsImpl() 670 for (const RelTy &rel : rels) { in markUsedLocalSymbolsImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 1997 unsigned RelTy = R.getType(); in relocationNeedsGot() local 1999 return RelTy == ELF::R_AARCH64_ADR_GOT_PAGE || in relocationNeedsGot() 2000 RelTy == ELF::R_AARCH64_LD64_GOT_LO12_NC; in relocationNeedsGot() 2003 return RelTy == ELF::R_X86_64_GOTPCREL || in relocationNeedsGot() 2004 RelTy == ELF::R_X86_64_GOTPCRELX || in relocationNeedsGot() 2005 RelTy == ELF::R_X86_64_GOT64 || in relocationNeedsGot() 2006 RelTy == ELF::R_X86_64_REX_GOTPCRELX; in relocationNeedsGot()
|