| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | ICF.cpp | 105 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> 334 template <class RelTy> 440 template <class ELFT, class RelTy> 442 ArrayRef<RelTy> rels) { in combineRelocHashes() [all …]
|
| H A D | DWARF.cpp | 76 template <class RelTy> struct LLDRelocationResolver { 103 template <class RelTy> 106 ArrayRef<RelTy> rels) const { in findAux() 108 partition_point(rels, [=](const RelTy &a) { return a.r_offset < pos; }); in findAux() 111 const RelTy &rel = *it; in findAux() 131 0, LLDRelocationResolver<RelTy>::resolve}; in findAux()
|
| H A D | Relocations.h | 216 template <typename RelTy> 217 ArrayRef<RelTy> sortRels(ArrayRef<RelTy> rels, SmallVector<RelTy, 0> &storage) { in sortRels() argument 218 auto cmp = [](const RelTy &a, const RelTy &b) { in sortRels()
|
| H A D | MarkLive.cpp | 57 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 D | Relocations.cpp | 471 template <class RelTy> RelType getMipsN32RelType(RelTy *&rel) const; 478 template <class ELFT, class RelTy> void scanOne(RelTy *&i); 479 template <class ELFT, class RelTy> void scan(ArrayRef<RelTy> rels); 495 if (RelTy::IsRela) in computeMipsAddend() 508 for (const RelTy *ri = &rel; ri != static_cast<const RelTy *>(end); ++ri) in computeMipsAddend() 857 template <class RelTy> 1399 template <class ELFT, class RelTy> void RelocationScanner::scanOne(RelTy *&i) { in scanOne() 1400 const RelTy &rel = *i; in scanOne() 1416 int64_t addend = RelTy::IsRela in scanOne() 1502 template <class RelTy> [all …]
|
| H A D | InputSection.cpp | 355 template <class ELFT, class RelTy> 376 using RawRels = ArrayRef<RelTy>; in copyRelocations() 380 RawRels rawRels = getDataAs<RelTy>(); in copyRelocations() 403 buf += sizeof(RelTy); in copyRelocations() 405 if (RelTy::IsRela) in copyRelocations() 446 if (!RelTy::IsRela) in copyRelocations() 465 if (RelTy::IsRela) in copyRelocations() 896 template <class ELFT, class RelTy> 919 const RelTy &rel = rels[i]; in relocateNonAlloc() 924 if (!RelTy::IsRela) in relocateNonAlloc() [all …]
|
| H A D | InputSection.h | 360 template <class ELFT, class RelTy> void split(ArrayRef<RelTy> rels); 403 template <class ELFT, class RelTy> 404 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels); 419 template <class ELFT, class RelTy> void copyRelocations(uint8_t *buf); 421 template <class ELFT, class RelTy, class RelIt>
|
| H A D | DWARF.h | 84 template <class RelTy> 87 ArrayRef<RelTy> rels) const;
|
| H A D | SyntheticSections.h | 78 template <class ELFT, class RelTy> 79 void addRecords(EhInputSection *s, llvm::ArrayRef<RelTy> rels); 81 template <class ELFT, class RelTy> 82 void iterateFDEWithLSDAAux(EhInputSection &sec, ArrayRef<RelTy> rels, 86 template <class ELFT, class RelTy> 87 CieRecord *addCie(EhSectionPiece &piece, ArrayRef<RelTy> rels); 89 template <class ELFT, class RelTy> 90 Defined *isFdeLive(EhSectionPiece &piece, ArrayRef<RelTy> rels);
|
| H A D | SyntheticSections.cpp | 363 template <class ELFT, class RelTy> 364 CieRecord *EhFrameSection::addCie(EhSectionPiece &cie, ArrayRef<RelTy> rels) { in addCie() 385 template <class ELFT, class RelTy> 386 Defined *EhFrameSection::isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels) { in isFdeLive() 398 const RelTy &rel = rels[firstRelI]; in isFdeLive() 413 template <class ELFT, class RelTy> 414 void EhFrameSection::addRecords(EhInputSection *sec, ArrayRef<RelTy> rels) { in addRecords() 444 template <class ELFT, class RelTy> 446 EhInputSection &sec, ArrayRef<RelTy> rels, DenseSet<size_t> &ciesWithLSDA, in iterateFDEWithLSDAAux()
|
| H A D | Writer.cpp | 676 template <class ELFT, class RelTy> 678 llvm::ArrayRef<RelTy> rels) { in markUsedLocalSymbolsImpl() 679 for (const RelTy &rel : rels) { in markUsedLocalSymbolsImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | XCOFFDumper.cpp | 66 template <typename RelTy> void printRelocation(RelTy Reloc); 67 template <typename Shdr, typename RelTy> 457 template <typename RelTy> void XCOFFDumper::printRelocation(RelTy Reloc) { in printRelocation() 481 template <typename Shdr, typename RelTy> 491 Expected<ArrayRef<RelTy>> ErrOrRelocations = Obj.relocations<Shdr, RelTy>(Sec); in printRelocations() 497 const ArrayRef<RelTy> Relocations = *ErrOrRelocations; in printRelocations() 505 for (const RelTy Reloc : Relocations) in printRelocations()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 2530 unsigned RelTy = R.getType(); in relocationNeedsGot() local 2532 return RelTy == ELF::R_AARCH64_ADR_GOT_PAGE || in relocationNeedsGot() 2533 RelTy == ELF::R_AARCH64_LD64_GOT_LO12_NC; in relocationNeedsGot() 2536 return RelTy == ELF::R_X86_64_GOTPCREL || in relocationNeedsGot() 2537 RelTy == ELF::R_X86_64_GOTPCRELX || in relocationNeedsGot() 2538 RelTy == ELF::R_X86_64_GOT64 || in relocationNeedsGot() 2539 RelTy == ELF::R_X86_64_REX_GOTPCRELX; in relocationNeedsGot()
|