Lines Matching refs:MachO
193 TheTriple.setObjectFormat(Triple::MachO); in getTarget()
447 const MachO::any_relocation_info &RE, in printRelocationTargetName()
515 MachO::any_relocation_info RE = Obj->getRelocation(Rel); in getRelocationValueString()
532 case MachO::X86_64_RELOC_GOT_LOAD: in getRelocationValueString()
533 case MachO::X86_64_RELOC_GOT: { in getRelocationValueString()
540 case MachO::X86_64_RELOC_SUBTRACTOR: { in getRelocationValueString()
543 MachO::any_relocation_info RENext = Obj->getRelocation(RelNext); in getRelocationValueString()
549 if (RType != MachO::X86_64_RELOC_UNSIGNED) in getRelocationValueString()
560 case MachO::X86_64_RELOC_TLV: in getRelocationValueString()
566 case MachO::X86_64_RELOC_SIGNED_1: in getRelocationValueString()
570 case MachO::X86_64_RELOC_SIGNED_2: in getRelocationValueString()
574 case MachO::X86_64_RELOC_SIGNED_4: in getRelocationValueString()
587 case MachO::GENERIC_RELOC_PAIR: // prints no info in getRelocationValueString()
589 case MachO::GENERIC_RELOC_SECTDIFF: { in getRelocationValueString()
592 MachO::any_relocation_info RENext = Obj->getRelocation(RelNext); in getRelocationValueString()
598 if (RType != MachO::GENERIC_RELOC_PAIR) in getRelocationValueString()
611 case MachO::GENERIC_RELOC_LOCAL_SECTDIFF: { in getRelocationValueString()
614 MachO::any_relocation_info RENext = Obj->getRelocation(RelNext); in getRelocationValueString()
619 if (RType != MachO::GENERIC_RELOC_PAIR) in getRelocationValueString()
628 case MachO::GENERIC_RELOC_TLV: { in getRelocationValueString()
640 case MachO::ARM_RELOC_HALF: in getRelocationValueString()
641 case MachO::ARM_RELOC_HALF_SECTDIFF: { in getRelocationValueString()
654 MachO::any_relocation_info RENext = Obj->getRelocation(RelNext); in getRelocationValueString()
659 if (RType != MachO::ARM_RELOC_PAIR) in getRelocationValueString()
670 if (Type == MachO::ARM_RELOC_HALF_SECTDIFF) { in getRelocationValueString()
696 auto *MachO = cast<MachOObjectFile>(Obj); in getRelocationValueString() local
697 return getRelocationValueString(MachO, Rel, Result); in getRelocationValueString()
705 auto *MachO = dyn_cast<MachOObjectFile>(Obj); in getHidden() local
706 if (!MachO) in getHidden()
709 unsigned Arch = MachO->getArch(); in getHidden()
711 uint64_t Type = MachO->getRelocationType(Rel); in getHidden()
716 if (Type == MachO::GENERIC_RELOC_PAIR) in getHidden()
721 if (Type == MachO::X86_64_RELOC_UNSIGNED && Rel.d.a > 0) { in getHidden()
724 uint64_t PrevType = MachO->getRelocationType(RelPrev); in getHidden()
725 if (PrevType == MachO::X86_64_RELOC_SUBTRACTOR) in getHidden()
884 if (const MachOObjectFile *MachO = dyn_cast<const MachOObjectFile>(Obj)) { in DisassembleObject() local
886 SegmentName = MachO->getSectionFinalSegmentName(DR); in DisassembleObject()
1218 if (const MachOObjectFile *MachO = in PrintSymbolTable() local
1221 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR); in PrintSymbolTable()
1250 } else if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in PrintUnwindInfo() local
1251 printMachOUnwindInfo(MachO); in PrintUnwindInfo()
1262 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie() local
1263 printMachOExportsTrie(MachO); in printExportsTrie()
1273 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable() local
1274 printMachORebaseTable(MachO); in printRebaseTable()
1284 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printBindTable() local
1285 printMachOBindTable(MachO); in printBindTable()
1295 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printLazyBindTable() local
1296 printMachOLazyBindTable(MachO); in printLazyBindTable()
1306 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printWeakBindTable() local
1307 printMachOWeakBindTable(MachO); in printWeakBindTable()