Lines Matching refs:MachO

36     case MachO::LC_SYMTAB:  in updateLoadCommandIndexes()
39 case MachO::LC_DYSYMTAB: in updateLoadCommandIndexes()
42 case MachO::LC_DYLD_INFO: in updateLoadCommandIndexes()
43 case MachO::LC_DYLD_INFO_ONLY: in updateLoadCommandIndexes()
46 case MachO::LC_DATA_IN_CODE: in updateLoadCommandIndexes()
49 case MachO::LC_LINKER_OPTIMIZATION_HINT: in updateLoadCommandIndexes()
52 case MachO::LC_FUNCTION_STARTS: in updateLoadCommandIndexes()
115 is64Bit() ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in nextAvailableSegmentAddress()
118 const MachO::macho_load_command &MLC = LC.MachOLoadCommand; in nextAvailableSegmentAddress()
120 case MachO::LC_SEGMENT: in nextAvailableSegmentAddress()
125 case MachO::LC_SEGMENT_64: in nextAvailableSegmentAddress()
138 constructSegment(SegmentType &Seg, llvm::MachO::LoadCommandType CmdType, in constructSegment()
145 (MachO::VM_PROT_READ | MachO::VM_PROT_WRITE | MachO::VM_PROT_EXECUTE); in constructSegment()
147 (MachO::VM_PROT_READ | MachO::VM_PROT_WRITE | MachO::VM_PROT_EXECUTE); in constructSegment()
157 MachO::LC_SEGMENT_64, SegName, SegVMAddr, SegVMSize); in addSegment()
160 MachO::LC_SEGMENT, SegName, SegVMAddr, SegVMSize); in addSegment()
169 strnlen(SegName, sizeof(MachO::segment_command::segname))); in extractSegmentName()
173 const MachO::macho_load_command &MLC = MachOLoadCommand; in getSegmentName()
175 case MachO::LC_SEGMENT: in getSegmentName()
177 case MachO::LC_SEGMENT_64: in getSegmentName()
185 const MachO::macho_load_command &MLC = MachOLoadCommand; in getSegmentVMAddr()
187 case MachO::LC_SEGMENT: in getSegmentVMAddr()
189 case MachO::LC_SEGMENT_64: in getSegmentVMAddr()