Searched refs:r_type (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachORelocation.h | 30 uint8_t r_type; // if not 0, machine-specific relocation type. variable 38 ((r_type & 15) << 24) | (r_address & 0x00FFFFFF); in getPackedFields() 41 (r_extern << 4) | (r_type & 15); in getPackedFields() 50 r_extern(ext), r_type(type), r_scattered(scattered), r_value(value) {} in r_address()
|
| /llvm-project-15.0.7/lld/MachO/Arch/ |
| H A D | ARM64Common.cpp | 21 if (rel.r_type != ARM64_RELOC_UNSIGNED && in getEmbeddedAddend() 22 rel.r_type != ARM64_RELOC_SUBTRACTOR) { in getEmbeddedAddend()
|
| H A D | X86_64.cpp | 83 return static_cast<int32_t>(read32le(loc)) + pcrelOffset(rel.r_type); in getEmbeddedAddend() 85 return read64le(loc) + pcrelOffset(rel.r_type); in getEmbeddedAddend()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 753 if (r_type > 0xf){ in PrintRType() 759 outs() << generic_r_types[r_type]; in PrintRType() 762 outs() << x86_64_r_types[r_type]; in PrintRType() 765 outs() << arm_r_types[r_type]; in PrintRType() 769 outs() << arm64_r_types[r_type]; in PrintRType() 858 PrintRType(cputype, r_type); in PrintRelocationEntries() 877 sectdiff_r_type = r_type; in PrintRelocationEntries() 917 PrintRType(cputype, r_type); in PrintRelocationEntries() 938 PrintRType(cputype, r_type); in PrintRelocationEntries() 2868 switch (r_type) { in SymbolizerGetOpInfo() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldELFMips.cpp | 277 uint32_t r_type = Type & 0xff; in resolveMIPSN64Relocation() local 283 uint32_t RelType = r_type; in resolveMIPSN64Relocation()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | MachO_x86_64.cpp | 55 switch (RI.r_type) { in getRelocKind() 110 ", kind=" + formatv("{0:x1}", RI.r_type) + in getRelocKind()
|
| H A D | MachO_arm64.cpp | 56 switch (RI.r_type) { in getRelocationKind() 118 ", kind=" + formatv("{0:x1}", RI.r_type) + in getRelocationKind()
|
| H A D | MachOLinkGraphBuilder.h | 176 RI.r_type = (ARI.r_word1 >> 28); in getRelocationInfo()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | InputFiles.cpp | 612 const RelocAttrs &relocAttrs = target->getRelocAttrs(rel.r_type); in validateRelocationInfo() 678 target->hasAttr(relInfo.r_type, RelocAttrBits::SUBTRAHEND); in parseRelocations() 680 if (target->hasAttr(relInfo.r_type, RelocAttrBits::ADDEND)) { in parseRelocations() 694 r.type = relInfo.r_type; in parseRelocations() 749 assert(target->hasAttr(minuendInfo.r_type, RelocAttrBits::UNSIGNED) && in parseRelocations() 752 p.type = minuendInfo.r_type; in parseRelocations()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 1463 uint32_t r_type = RelType & 0xff; in processRelocationRef() local 1465 if (r_type == ELF::R_MIPS_CALL16 || r_type == ELF::R_MIPS_GOT_PAGE in processRelocationRef() 1466 || r_type == ELF::R_MIPS_GOT_DISP) { in processRelocationRef()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 962 r_type : 4; member 967 uint32_t r_scattered : 1, r_pcrel : 1, r_length : 2, r_type : 4, member 970 uint32_t r_address : 24, r_type : 4, r_length : 2, r_pcrel : 1,
|