Lines Matching +full:fat +full:- +full:mach +full:- +full:o
1 //===- MachOUniversal.cpp - Mach-O universal binary -------------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
27 std::string StringMsg = "truncated or malformed fat file (" + Msg.str() + ")"; in malformedError()
36 // Universal binary headers have big-endian byte order. in getUniversalBinaryStruct()
45 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch()
49 StringRef ParentData = Parent->getData(); in ObjectForArch()
50 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch()
57 } else { // Parent->getMagic() == MachO::FAT_MAGIC_64 in ObjectForArch()
74 StringRef ParentData = Parent->getData(); in getAsObjectFile()
76 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAsObjectFile()
78 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getAsObjectFile()
80 StringRef ObjectName = Parent->getFileName(); in getAsObjectFile()
91 StringRef ParentData = Parent->getData(); in getAsArchive()
93 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAsArchive()
95 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getAsArchive()
97 StringRef ObjectName = Parent->getFileName(); in getAsArchive()
119 Err = make_error<GenericBinaryError>("File too small to be a Mach-O " in MachOUniversalBinary()
157 if (I->getArchTypeName() == ArchName) in getObjectForArch()
158 return I->getAsObjectFile(); in getObjectForArch()
160 return make_error<GenericBinaryError>("fat file does not " in getObjectForArch()