Lines Matching refs:MachOObjectFile
251 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit()
273 static void darwinPrintSymbol(MachOObjectFile *MachO, SymbolListT::iterator I, in darwinPrintSymbol()
286 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol()
296 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol()
503 static void darwinPrintStab(MachOObjectFile *MachO, SymbolListT::iterator I) { in darwinPrintStab()
581 if (JustSymbolName || (UndefinedOnly && isa<MachOObjectFile>(Obj))) { in sortAndPrintSymbolList()
605 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in sortAndPrintSymbolList()
730 static uint8_t getNType(MachOObjectFile &Obj, DataRefImpl Symb) { in getNType()
739 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar()
811 if ((Symflags & object::SymbolRef::SF_Weak) && !isa<MachOObjectFile>(Obj)) { in getNMTypeChar()
831 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMTypeChar()
854 static unsigned getNsectForSegSect(MachOObjectFile *Obj) { in getNsectForSegSect()
874 static unsigned getNsectInMachO(MachOObjectFile &Obj, basic_symbol_iterator I) { in getNsectInMachO()
909 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in dumpSymbolNamesFromObject()
968 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
977 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags()
978 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
980 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
981 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype); in checkMachOAndArchFlags()
1035 if (isa<MachOObjectFile>(O)) { in dumpSymbolNamesFromFile()
1119 StringRef HostArchName = MachOObjectFile::getHostArch().getArchName(); in dumpSymbolNamesFromFile()
1170 if (isa<MachOObjectFile>(Obj) && moreThanOneArch) in dumpSymbolNamesFromFile()
1176 if (isa<MachOObjectFile>(Obj) && moreThanOneArch) in dumpSymbolNamesFromFile()
1192 if (isa<MachOObjectFile>(O) && moreThanOneArch) in dumpSymbolNamesFromFile()
1196 if (isa<MachOObjectFile>(O)) { in dumpSymbolNamesFromFile()
1267 if (!MachOObjectFile::isValidArch(ArchFlags[i])) in main()