Lines Matching refs:MachO
51 case MachO::ARM64_RELOC_POINTER_TO_GOT: in decodeAddend()
52 case MachO::ARM64_RELOC_UNSIGNED: { in decodeAddend()
65 case MachO::ARM64_RELOC_BRANCH26: in decodeAddend()
66 case MachO::ARM64_RELOC_PAGE21: in decodeAddend()
67 case MachO::ARM64_RELOC_PAGEOFF12: in decodeAddend()
68 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in decodeAddend()
69 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: in decodeAddend()
79 case MachO::ARM64_RELOC_POINTER_TO_GOT: in decodeAddend()
80 case MachO::ARM64_RELOC_UNSIGNED: in decodeAddend()
87 case MachO::ARM64_RELOC_BRANCH26: { in decodeAddend()
101 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in decodeAddend()
102 case MachO::ARM64_RELOC_PAGE21: { in decodeAddend()
114 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: { in decodeAddend()
123 case MachO::ARM64_RELOC_PAGEOFF12: { in decodeAddend()
156 MachO::RelocationInfoType RelType, int64_t Addend) const { in encodeAddend()
161 case MachO::ARM64_RELOC_POINTER_TO_GOT: in encodeAddend()
162 case MachO::ARM64_RELOC_UNSIGNED: in encodeAddend()
165 case MachO::ARM64_RELOC_BRANCH26: in encodeAddend()
166 case MachO::ARM64_RELOC_PAGE21: in encodeAddend()
167 case MachO::ARM64_RELOC_PAGEOFF12: in encodeAddend()
168 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in encodeAddend()
169 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: in encodeAddend()
179 case MachO::ARM64_RELOC_POINTER_TO_GOT: in encodeAddend()
180 case MachO::ARM64_RELOC_UNSIGNED: in encodeAddend()
187 case MachO::ARM64_RELOC_BRANCH26: { in encodeAddend()
202 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in encodeAddend()
203 case MachO::ARM64_RELOC_PAGE21: { in encodeAddend()
218 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: { in encodeAddend()
227 case MachO::ARM64_RELOC_PAGEOFF12: { in encodeAddend()
279 MachO::any_relocation_info RelInfo = in processRelocationRef()
291 if (Obj.getAnyRelocationType(RelInfo) == MachO::ARM64_RELOC_ADDEND) { in processRelocationRef()
302 if (Obj.getAnyRelocationType(RelInfo) == MachO::ARM64_RELOC_SUBTRACTOR) in processRelocationRef()
307 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { in processRelocationRef()
333 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { in processRelocationRef()
341 if (RE.RelType == MachO::ARM64_RELOC_GOT_LOAD_PAGE21 || in processRelocationRef()
342 RE.RelType == MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12 || in processRelocationRef()
343 RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) in processRelocationRef()
360 MachO::RelocationInfoType RelType = in resolveRelocation()
361 static_cast<MachO::RelocationInfoType>(RE.RelType); in resolveRelocation()
366 case MachO::ARM64_RELOC_UNSIGNED: { in resolveRelocation()
377 case MachO::ARM64_RELOC_POINTER_TO_GOT: { in resolveRelocation()
389 case MachO::ARM64_RELOC_BRANCH26: { in resolveRelocation()
397 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in resolveRelocation()
398 case MachO::ARM64_RELOC_PAGE21: { in resolveRelocation()
407 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: in resolveRelocation()
408 case MachO::ARM64_RELOC_PAGEOFF12: { in resolveRelocation()
417 case MachO::ARM64_RELOC_SUBTRACTOR: { in resolveRelocation()
427 case MachO::ARM64_RELOC_TLVP_LOAD_PAGE21: in resolveRelocation()
428 case MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12: in resolveRelocation()
430 case MachO::ARM64_RELOC_ADDEND: in resolveRelocation()
444 assert((RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT && in processGOTRelocation()
465 MachO::ARM64_RELOC_UNSIGNED, Value.Offset, in processGOTRelocation()
485 MachO::any_relocation_info RE = in processSubtractRelocation()
510 RelocationEntry R(SectionID, Offset, MachO::ARM64_RELOC_SUBTRACTOR, (uint64_t)Addend, in processSubtractRelocation()
521 case MachO::ARM64_RELOC_UNSIGNED: return "ARM64_RELOC_UNSIGNED"; in getRelocName()
522 case MachO::ARM64_RELOC_SUBTRACTOR: return "ARM64_RELOC_SUBTRACTOR"; in getRelocName()
523 case MachO::ARM64_RELOC_BRANCH26: return "ARM64_RELOC_BRANCH26"; in getRelocName()
524 case MachO::ARM64_RELOC_PAGE21: return "ARM64_RELOC_PAGE21"; in getRelocName()
525 case MachO::ARM64_RELOC_PAGEOFF12: return "ARM64_RELOC_PAGEOFF12"; in getRelocName()
526 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: return "ARM64_RELOC_GOT_LOAD_PAGE21"; in getRelocName()
527 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: return "ARM64_RELOC_GOT_LOAD_PAGEOFF12"; in getRelocName()
528 case MachO::ARM64_RELOC_POINTER_TO_GOT: return "ARM64_RELOC_POINTER_TO_GOT"; in getRelocName()
529 case MachO::ARM64_RELOC_TLVP_LOAD_PAGE21: return "ARM64_RELOC_TLVP_LOAD_PAGE21"; in getRelocName()
530 case MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12: return "ARM64_RELOC_TLVP_LOAD_PAGEOFF12"; in getRelocName()
531 case MachO::ARM64_RELOC_ADDEND: return "ARM64_RELOC_ADDEND"; in getRelocName()