/openbsd-current/gnu/llvm/lld/ELF/Arch/ |
H A D | MSP430.cpp | 37 void relocate(uint8_t *loc, const Relocation &rel, 62 void MSP430::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
|
H A D | AArch64.cpp | 49 void relocate(uint8_t *loc, const Relocation &rel, 55 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 56 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 57 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 63 AArch64Relaxer(ArrayRef<Relocation> relocs); 64 bool tryRelaxAdrpAdd(const Relocation &adrpRel, const Relocation &addRel, 66 bool tryRelaxAdrpLdr(const Relocation &adrpRel, const Relocation &ldrRel, 360 void AArch64::relocate(uint8_t *loc, const Relocation [all...] |
H A D | PPC.cpp | 50 void relocate(uint8_t *loc, const Relocation &rel, 57 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 58 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 59 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 60 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 310 void PPC::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { 401 void PPC::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, 420 void PPC::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, 436 void PPC::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, 460 void PPC::relaxTlsIeToLe(uint8_t *loc, const Relocation [all...] |
H A D | X86_64.cpp | 38 void relocate(uint8_t *loc, const Relocation &rel, 165 static bool isRelocationForJmpInsn(Relocation &R) { 170 // Return true if Relocation R points to the first instruction in the 175 InputSection *nextIS, Relocation &r) { 253 Relocation &r = is.relocs()[rIndex]; 281 Relocation &rB = is.relocs()[rbIndex]; 417 static void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { 457 static void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) { 498 static void relaxTlsIeToLe(uint8_t *loc, const Relocation &, uint64_t val) { 539 static void relaxTlsLdToLe(uint8_t *loc, const Relocation [all...] |
H A D | AMDGPU.cpp | 32 void relocate(uint8_t *loc, const Relocation &rel, 129 void AMDGPU::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
|
H A D | X86.cpp | 37 void relocate(uint8_t *loc, const Relocation &rel, 283 void X86::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { 347 static void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { 382 static void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) { 416 static void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { 453 static void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { 488 for (const Relocation &rel : sec.relocs()) {
|
H A D | PPC64.cpp | 167 void relocate(uint8_t *loc, const Relocation &rel, 178 void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const; 185 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 186 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 187 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 188 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 364 static bool tryRelaxPPC64TocIndirection(const Relocation &rel, 401 // Relocation masks following the #lo(value), #hi(value), #ha(value), 403 // macros defined in section 4.5.1. Relocation Types of the PPC-elf64abi 640 void PPC64::relaxGot(uint8_t *loc, const Relocation [all...] |
H A D | SPARCV9.cpp | 29 void relocate(uint8_t *loc, const Relocation &rel, 87 void SPARCV9::relocate(uint8_t *loc, const Relocation &rel,
|
H A D | AVR.cpp | 48 void relocate(uint8_t *loc, const Relocation &rel, 96 void AVR::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
|
/openbsd-current/gnu/llvm/lld/ELF/ |
H A D | Thunks.h | 53 const Relocation &) const { 68 // For a Relocation to symbol S create a Thunk to be added to a synthetic 70 Thunk *addThunk(const InputSection &isec, Relocation &rel);
|
H A D | Relocations.h | 108 struct Relocation { struct in namespace:lld::elf 149 const Relocation &rel, uint64_t src); 155 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel, 161 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
|
H A D | Target.h | 87 virtual void relocate(uint8_t *loc, const Relocation &rel, 90 relocate(loc, Relocation{R_NONE, type, 0, 0, nullptr}, val); 226 void reportRangeError(uint8_t *loc, const Relocation &rel, const Twine &v, 232 inline void checkInt(uint8_t *loc, int64_t v, int n, const Relocation &rel) { 238 inline void checkUInt(uint8_t *loc, uint64_t v, int n, const Relocation &rel) { 245 const Relocation &rel) { 254 const Relocation &rel) {
|
H A D | ARMErrataFix.cpp | 207 uint32_t instr, const Relocation *r) { 247 Relocation *rel; 284 auto relIt = llvm::find_if(isec->relocs(), [=](const Relocation &r) { 455 Relocation{sr.rel->expr, patchRelType, 0, patchRelAddend, sr.rel->sym}); 473 isec->addReloc(Relocation{R_PC, type, sr.off, -4, psec->patchSym});
|
H A D | Thunks.cpp | 80 const Relocation &rel) const override; 112 const Relocation &rel) const override; 308 PPC32PltCallStub(const InputSection &isec, const Relocation &rel, 314 bool isCompatibleWith(const InputSection &isec, const Relocation &rel) const override; 344 const Relocation &rel) const override; 374 const Relocation &rel) const override; 397 const Relocation &rel) const override; 414 const Relocation &rel) const override; 431 const Relocation &rel) const override; 565 const Relocation [all...] |
H A D | InputSection.h | 211 SmallVector<Relocation, 0> relocations; 213 void addReloc(const Relocation &r) { relocations.push_back(r); } 214 MutableArrayRef<Relocation> relocs() { return relocations; } 215 ArrayRef<Relocation> relocs() const { return relocations; }
|
H A D | InputSection.cpp | 382 // section data. We do that by adding to the Relocation vector. 546 static Relocation *getRISCVPCRelHi20(const Symbol *sym, uint64_t addend) { 561 Relocation r; 565 [](const Relocation &lhs, const Relocation &rhs) { 713 if (const Relocation *hiRel = getRISCVPCRelHi20(&sym, a)) 953 for (const Relocation &rel : sec->relocs()) { 988 SmallVector<Relocation *, 0> &morestackCalls) { 1001 llvm::sort(morestackCalls, [](const Relocation *l, const Relocation * [all...] |
/openbsd-current/gnu/llvm/llvm/bindings/python/llvm/tests/ |
H A D | test_object.py | 5 from ..object import Relocation namespace 64 assert isinstance(relocation, Relocation)
|
/openbsd-current/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
H A D | COFFYAML.h | 57 struct Relocation { struct in namespace:llvm::COFFYAML 61 // Normally a Relocation can refer to the symbol via its name. 77 std::vector<Relocation> Relocations; 119 LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Relocation) 200 struct MappingTraits<COFFYAML::Relocation> { 201 static void mapping(IO &IO, COFFYAML::Relocation &Rel);
|
H A D | MachOYAML.h | 31 struct Relocation { struct in namespace:llvm::MachOYAML 59 std::vector<Relocation> relocations; 173 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::Relocation) 230 template <> struct MappingTraits<MachOYAML::Relocation> { 231 static void mapping(IO &IO, MachOYAML::Relocation &R);
|
H A D | XCOFFYAML.h | 65 struct Relocation { struct in namespace:llvm::XCOFFYAML 83 std::vector<Relocation> Relocations; 221 LLVM_YAML_IS_SEQUENCE_VECTOR(XCOFFYAML::Relocation) 264 template <> struct MappingTraits<XCOFFYAML::Relocation> { 265 static void mapping(IO &IO, XCOFFYAML::Relocation &R);
|
H A D | WasmYAML.h | 114 struct Relocation { struct in namespace:llvm::WasmYAML 191 std::vector<Relocation> Relocations; 436 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Relocation) 511 template <> struct MappingTraits<WasmYAML::Relocation> { 512 static void mapping(IO &IO, WasmYAML::Relocation &Relocation);
|
H A D | ELFYAML.h | 189 Relocation, member in class:llvm::ELFYAML::Chunk::ChunkKind 590 struct Relocation { struct in namespace:llvm::ELFYAML 598 std::optional<std::vector<Relocation>> Relocations; 601 RelocationSection() : Section(ChunkKind::Relocation) {} 608 return S->Kind == ChunkKind::Relocation; 751 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::Relocation) 940 template <> struct MappingTraits<ELFYAML::Relocation> { 941 static void mapping(IO &IO, ELFYAML::Relocation &Rel);
|
/openbsd-current/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
H A D | COFFObject.h | 26 struct Relocation { struct in namespace:llvm::objcopy::coff 27 Relocation() = default; 28 Relocation(const object::coff_relocation &R) : Reloc(R) {} function in struct:llvm::objcopy::coff::Relocation 37 std::vector<Relocation> Relocs;
|
/openbsd-current/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 317 void MappingTraits<MachOYAML::Relocation>::mapping( argument 318 IO &IO, MachOYAML::Relocation &Relocation) { 319 IO.mapRequired("address", Relocation.address); 320 IO.mapRequired("symbolnum", Relocation.symbolnum); 321 IO.mapRequired("pcrel", Relocation.is_pcrel); 322 IO.mapRequired("length", Relocation.length); 323 IO.mapRequired("extern", Relocation.is_extern); 324 IO.mapRequired("type", Relocation.type); 325 IO.mapRequired("scattered", Relocation [all...] |
H A D | WasmYAML.cpp | 319 void MappingTraits<WasmYAML::Relocation>::mapping( argument 320 IO &IO, WasmYAML::Relocation &Relocation) { 321 IO.mapRequired("Type", Relocation.Type); 322 IO.mapRequired("Index", Relocation.Index); 323 IO.mapRequired("Offset", Relocation.Offset); 324 IO.mapOptional("Addend", Relocation.Addend, 0);
|