| /openbsd-src/gnu/llvm/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> 238 bool ICF<ELFT>::constantEq(const InputSection *secA, ArrayRef<RelTy> ra, in constantEq() 239 const InputSection *secB, ArrayRef<RelTy> rb) { in constantEq() 334 template <class RelTy> [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 | 202 template <typename RelTy> 203 ArrayRef<RelTy> sortRels(ArrayRef<RelTy> rels, SmallVector<RelTy, 0> &storage) { in sortRels() argument 204 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 | InputSection.h | 339 template <class ELFT, class RelTy> void split(ArrayRef<RelTy> rels); 382 template <class ELFT, class RelTy> 383 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels); 398 template <class ELFT, class RelTy> 399 void copyRelocations(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
|
| H A D | DWARF.h | 83 template <class RelTy> 86 ArrayRef<RelTy> rels) const;
|
| H A D | InputSection.cpp | 355 template <class ELFT, class RelTy> 356 void InputSection::copyRelocations(uint8_t *buf, ArrayRef<RelTy> rels) { in copyRelocations() 361 for (const RelTy &rel : rels) { in copyRelocations() 367 buf += sizeof(RelTy); in copyRelocations() 369 if (RelTy::IsRela) in copyRelocations() 413 if (!RelTy::IsRela) in copyRelocations() 432 if (RelTy::IsRela) in copyRelocations() 829 template <class ELFT, class RelTy> 830 void InputSection::relocateNonAlloc(uint8_t *buf, ArrayRef<RelTy> rels) { in relocateNonAlloc() 844 for (const RelTy &rel : rels) { in relocateNonAlloc() [all …]
|
| H A D | SyntheticSections.h | 76 template <class ELFT, class RelTy> 77 void addRecords(EhInputSection *s, llvm::ArrayRef<RelTy> rels); 79 template <class ELFT, class RelTy> 80 void iterateFDEWithLSDAAux(EhInputSection &sec, ArrayRef<RelTy> rels, 84 template <class ELFT, class RelTy> 85 CieRecord *addCie(EhSectionPiece &piece, ArrayRef<RelTy> rels); 87 template <class ELFT, class RelTy> 88 Defined *isFdeLive(EhSectionPiece &piece, ArrayRef<RelTy> rels);
|
| H A D | SyntheticSections.cpp | 356 template <class ELFT, class RelTy> 357 CieRecord *EhFrameSection::addCie(EhSectionPiece &cie, ArrayRef<RelTy> rels) { in addCie() 378 template <class ELFT, class RelTy> 379 Defined *EhFrameSection::isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels) { in isFdeLive() 391 const RelTy &rel = rels[firstRelI]; in isFdeLive() 406 template <class ELFT, class RelTy> 407 void EhFrameSection::addRecords(EhInputSection *sec, ArrayRef<RelTy> rels) { in addRecords() 437 template <class ELFT, class RelTy> 439 EhInputSection &sec, ArrayRef<RelTy> rels, DenseSet<size_t> &ciesWithLSDA, in iterateFDEWithLSDAAux()
|
| H A D | Writer.cpp | 603 template <class ELFT, class RelTy> 605 llvm::ArrayRef<RelTy> rels) { in markUsedLocalSymbolsImpl() 606 for (const RelTy &rel : rels) { in markUsedLocalSymbolsImpl()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | XCOFFDumper.cpp | 66 template <typename RelTy> void printRelocation(RelTy Reloc); 67 template <typename Shdr, typename RelTy> 456 template <typename RelTy> void XCOFFDumper::printRelocation(RelTy Reloc) { in printRelocation() 480 template <typename Shdr, typename RelTy> 490 Expected<ArrayRef<RelTy>> ErrOrRelocations = Obj.relocations<Shdr, RelTy>(Sec); in printRelocations() 496 const ArrayRef<RelTy> Relocations = *ErrOrRelocations; in printRelocations() 504 for (const RelTy Reloc : Relocations) in printRelocations()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 2523 unsigned RelTy = R.getType(); in relocationNeedsGot() local 2525 return RelTy == ELF::R_AARCH64_ADR_GOT_PAGE || in relocationNeedsGot() 2526 RelTy == ELF::R_AARCH64_LD64_GOT_LO12_NC; in relocationNeedsGot() 2529 return RelTy == ELF::R_X86_64_GOTPCREL || in relocationNeedsGot() 2530 RelTy == ELF::R_X86_64_GOTPCRELX || in relocationNeedsGot() 2531 RelTy == ELF::R_X86_64_GOT64 || in relocationNeedsGot() 2532 RelTy == ELF::R_X86_64_REX_GOTPCRELX; in relocationNeedsGot()
|