Home | History | Annotate | Download | only in Object

Lines Matching refs:MachO

16 #include "llvm/Object/MachO.h"
29 void SwapStruct(MachO::fat_header &H) {
35 void SwapStruct(MachO::fat_arch &H) {
61 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) +
62 Index * sizeof(MachO::fat_arch);
63 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos);
109 if (Data.getBufferSize() < sizeof(MachO::fat_header)) {
115 MachO::fat_header H= getUniversalBinaryStruct<MachO::fat_header>(Buf.begin());
117 uint32_t MinSize = sizeof(MachO::fat_header) +
118 sizeof(MachO::fat_arch) * NumberOfObjects;
119 if (H.magic != MachO::FAT_MAGIC || Buf.size() < MinSize) {