Home
last modified time | relevance | path

Searched refs:MachO (Results 1 – 25 of 89) sorted by relevance

1234

/external/llvm/tools/llvm-readobj/
DMachODumper.cpp75 { "Magic", MachO::MH_MAGIC },
76 { "Cigam", MachO::MH_CIGAM },
77 { "Magic64", MachO::MH_MAGIC_64 },
78 { "Cigam64", MachO::MH_CIGAM_64 },
79 { "FatMagic", MachO::FAT_MAGIC },
80 { "FatCigam", MachO::FAT_CIGAM },
84 { "Relocatable", MachO::MH_OBJECT },
85 { "Executable", MachO::MH_EXECUTE },
86 { "FixedVMLibrary", MachO::MH_FVMLIB },
87 { "Core", MachO::MH_CORE },
[all …]
/external/llvm/lib/Object/
DMachOObjectFile.cpp50 MachO::swapStruct(Cmd); in getStruct()
79 MachO::segment_command_64 S = O->getSegment64LoadCommand(L); in isPageZeroSegment()
82 MachO::segment_command S = O->getSegmentLoadCommand(L); in isPageZeroSegment()
93 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : in getSectionPtr()
94 sizeof(MachO::segment_command); in getSectionPtr()
95 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr()
96 sizeof(MachO::section); in getSectionPtr()
106 static MachO::nlist_base
109 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase()
132 const MachO::any_relocation_info &RE, in printRelocationTargetName()
[all …]
DMachOUniversal.cpp29 void SwapStruct(MachO::fat_header &H) { in SwapStruct()
35 void SwapStruct(MachO::fat_arch &H) { in SwapStruct()
61 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
62 Index * sizeof(MachO::fat_arch); in ObjectForArch()
63 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); in ObjectForArch()
109 if (Data.getBufferSize() < sizeof(MachO::fat_header)) { in MachOUniversalBinary()
115 MachO::fat_header H= getUniversalBinaryStruct<MachO::fat_header>(Buf.begin()); in MachOUniversalBinary()
117 uint32_t MinSize = sizeof(MachO::fat_header) + in MachOUniversalBinary()
118 sizeof(MachO::fat_arch) * NumberOfObjects; in MachOUniversalBinary()
119 if (H.magic != MachO::FAT_MAGIC || Buf.size() < MinSize) { in MachOUniversalBinary()
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp251 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit() local
252 return MachO->is64Bit(); in isSymbolList64Bit()
273 static void darwinPrintSymbol(MachOObjectFile *MachO, SymbolListT::iterator I, in darwinPrintSymbol() argument
275 MachO::mach_header H; in darwinPrintSymbol()
276 MachO::mach_header_64 H_64; in darwinPrintSymbol()
278 MachO::nlist_64 STE_64; in darwinPrintSymbol()
279 MachO::nlist STE; in darwinPrintSymbol()
285 if (MachO->is64Bit()) { in darwinPrintSymbol()
286 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol()
289 STE_64 = MachO->getSymbol64TableEntry(I->Symb); in darwinPrintSymbol()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOAArch64.h44 case MachO::ARM64_RELOC_UNSIGNED: in decodeAddend()
47 case MachO::ARM64_RELOC_BRANCH26: in decodeAddend()
48 case MachO::ARM64_RELOC_PAGE21: in decodeAddend()
49 case MachO::ARM64_RELOC_PAGEOFF12: in decodeAddend()
50 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in decodeAddend()
51 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: in decodeAddend()
61 case MachO::ARM64_RELOC_UNSIGNED: in decodeAddend()
68 case MachO::ARM64_RELOC_BRANCH26: { in decodeAddend()
80 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in decodeAddend()
81 case MachO::ARM64_RELOC_PAGE21: { in decodeAddend()
[all …]
DRuntimeDyldMachOARM.h43 case MachO::ARM_RELOC_BR24: { in decodeAddend()
59 MachO::any_relocation_info RelInfo = in processRelocationRef()
64 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) in processRelocationRef()
79 if ((RE.RelType & 0xf) == MachO::ARM_RELOC_BR24) in processRelocationRef()
111 case MachO::ARM_RELOC_VANILLA: in resolveRelocation()
114 case MachO::ARM_RELOC_BR24: { in resolveRelocation()
132 case MachO::ARM_RELOC_HALF_SECTDIFF: { in resolveRelocation()
148 case MachO::ARM_THUMB_RELOC_BR22: in resolveRelocation()
149 case MachO::ARM_THUMB_32BIT_BRANCH: in resolveRelocation()
150 case MachO::ARM_RELOC_HALF: in resolveRelocation()
[all …]
DRuntimeDyldMachOX86_64.h40 MachO::any_relocation_info RelInfo = in processRelocationRef()
55 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef()
56 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef()
86 case MachO::X86_64_RELOC_SIGNED_1: in resolveRelocation()
87 case MachO::X86_64_RELOC_SIGNED_2: in resolveRelocation()
88 case MachO::X86_64_RELOC_SIGNED_4: in resolveRelocation()
89 case MachO::X86_64_RELOC_SIGNED: in resolveRelocation()
90 case MachO::X86_64_RELOC_UNSIGNED: in resolveRelocation()
91 case MachO::X86_64_RELOC_BRANCH: in resolveRelocation()
94 case MachO::X86_64_RELOC_GOT_LOAD: in resolveRelocation()
[all …]
DRuntimeDyldMachOI386.h40 MachO::any_relocation_info RelInfo = in processRelocationRef()
45 if (RelType == MachO::GENERIC_RELOC_SECTDIFF || in processRelocationRef()
46 RelType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) in processRelocationRef()
49 else if (RelType == MachO::GENERIC_RELOC_VANILLA) in processRelocationRef()
97 case MachO::GENERIC_RELOC_VANILLA: in resolveRelocation()
100 case MachO::GENERIC_RELOC_SECTDIFF: in resolveRelocation()
101 case MachO::GENERIC_RELOC_LOCAL_SECTDIFF: { in resolveRelocation()
110 case MachO::GENERIC_RELOC_PB_LA_PTR: in resolveRelocation()
134 MachO::any_relocation_info RE = in processSECTDIFFRelocation()
148 MachO::any_relocation_info RE2 = in processSECTDIFFRelocation()
[all …]
/external/llvm/include/llvm/Object/
DMachO.h191 MachO::load_command C; // The command itself.
315 bool isRelocationScattered(const MachO::any_relocation_info &RE) const;
317 const MachO::any_relocation_info &RE) const;
318 bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const;
320 const MachO::any_relocation_info &RE) const;
322 const MachO::any_relocation_info &RE) const;
324 const MachO::any_relocation_info &RE) const;
325 unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const;
326 unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const;
327 unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const;
[all …]
/external/llvm/tools/llvm-size/
Dllvm-size.cpp117 static void PrintDarwinSectionSizes(MachOObjectFile *MachO) { in PrintDarwinSectionSizes() argument
125 uint32_t LoadCommandCount = MachO->getHeader().ncmds; in PrintDarwinSectionSizes()
126 uint32_t Filetype = MachO->getHeader().filetype; in PrintDarwinSectionSizes()
127 MachOObjectFile::LoadCommandInfo Load = MachO->getFirstLoadCommandInfo(); in PrintDarwinSectionSizes()
131 if (Load.C.cmd == MachO::LC_SEGMENT_64) { in PrintDarwinSectionSizes()
132 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in PrintDarwinSectionSizes()
142 MachO::section_64 Sec = MachO->getSection64(Load, J); in PrintDarwinSectionSizes()
143 if (Filetype == MachO::MH_OBJECT) in PrintDarwinSectionSizes()
157 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in PrintDarwinSectionSizes()
158 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in PrintDarwinSectionSizes()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp92 unsigned Type = MachO::GENERIC_RELOC_VANILLA; in getRelocType()
98 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 in getRelocType()
101 Type = MachO::PPC_RELOC_BR14; in getRelocType()
108 Type = MachO::PPC_RELOC_HA16; in getRelocType()
111 Type = MachO::PPC_RELOC_LO16; in getRelocType()
114 Type = MachO::PPC_RELOC_HI16; in getRelocType()
128 Type = MachO::PPC_RELOC_HA16_SECTDIFF; in getRelocType()
131 Type = MachO::PPC_RELOC_LO16_SECTDIFF; in getRelocType()
134 Type = MachO::PPC_RELOC_HI16_SECTDIFF; in getRelocType()
147 static void makeRelocationInfo(MachO::any_relocation_info &MRE, in makeRelocationInfo()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp66 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo()
100 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo()
108 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo()
122 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
126 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
131 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
135 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
151 unsigned Type = MachO::ARM_RELOC_HALF; in RecordARMScatteredHalfRelocation()
177 Type = MachO::ARM_RELOC_HALF_SECTDIFF; in RecordARMScatteredHalfRelocation()
218 if (Type == MachO::ARM_RELOC_HALF_SECTDIFF) { in RecordARMScatteredHalfRelocation()
[all …]
/external/llvm/lib/MC/
DMCAsmInfoDarwin.cpp29 if (SMO.getType() == MachO::S_CSTRING_LITERALS) in isSectionAtomizableBySymbols()
45 case MachO::S_4BYTE_LITERALS: in isSectionAtomizableBySymbols()
46 case MachO::S_8BYTE_LITERALS: in isSectionAtomizableBySymbols()
47 case MachO::S_16BYTE_LITERALS: in isSectionAtomizableBySymbols()
48 case MachO::S_LITERAL_POINTERS: in isSectionAtomizableBySymbols()
49 case MachO::S_NON_LAZY_SYMBOL_POINTERS: in isSectionAtomizableBySymbols()
50 case MachO::S_LAZY_SYMBOL_POINTERS: in isSectionAtomizableBySymbols()
51 case MachO::S_MOD_INIT_FUNC_POINTERS: in isSectionAtomizableBySymbols()
52 case MachO::S_MOD_TERM_FUNC_POINTERS: in isSectionAtomizableBySymbols()
53 case MachO::S_INTERPOSING: in isSectionAtomizableBySymbols()
DMachObjectWriter.cpp133 Flags |= MachO::MH_SUBSECTIONS_VIA_SYMBOLS; in WriteHeader()
141 Write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in WriteHeader()
146 Write32(MachO::MH_OBJECT); in WriteHeader()
154 (is64Bit()?sizeof(MachO::mach_header_64): sizeof(MachO::mach_header))); in WriteHeader()
172 is64Bit() ? sizeof(MachO::segment_command_64): in WriteSegmentLoadCommand()
173 sizeof(MachO::segment_command); in WriteSegmentLoadCommand()
174 Write32(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in WriteSegmentLoadCommand()
176 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in WriteSegmentLoadCommand()
177 sizeof(MachO::section))); in WriteSegmentLoadCommand()
192 Write32(MachO::VM_PROT_READ | MachO::VM_PROT_WRITE | MachO::VM_PROT_EXECUTE); in WriteSegmentLoadCommand()
[all …]
DMCSectionMachO.cpp21 } SectionTypeDescriptors[MachO::LAST_KNOWN_SECTION_TYPE+1] = {
57 { MachO::ENUM, ASMNAME, #ENUM },
104 MachO::SectionType SectionType = getType(); in PrintSwitchToSection()
105 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
118 unsigned SectionAttrs = TAA & MachO::SECTION_ATTRIBUTES; in PrintSwitchToSection()
157 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in UseCodeAlign()
161 return (getType() == MachO::S_ZEROFILL || in isVirtualSection()
162 getType() == MachO::S_GB_ZEROFILL || in isVirtualSection()
163 getType() == MachO::S_THREAD_LOCAL_ZEROFILL); in isVirtualSection()
230 if (TAA == MachO::S_SYMBOL_STUBS) in ParseSectionSpecifier()
[all …]
DMCObjectFileInfo.cpp61 MachO::S_ATTR_PURE_INSTRUCTIONS, in InitMachOMCObjectFileInfo()
72 MachO::S_THREAD_LOCAL_REGULAR, in InitMachOMCObjectFileInfo()
76 MachO::S_THREAD_LOCAL_ZEROFILL, in InitMachOMCObjectFileInfo()
82 MachO::S_THREAD_LOCAL_VARIABLES, in InitMachOMCObjectFileInfo()
87 MachO::S_THREAD_LOCAL_INIT_FUNCTION_POINTERS, in InitMachOMCObjectFileInfo()
92 MachO::S_CSTRING_LITERALS, in InitMachOMCObjectFileInfo()
99 MachO::S_4BYTE_LITERALS, in InitMachOMCObjectFileInfo()
103 MachO::S_8BYTE_LITERALS, in InitMachOMCObjectFileInfo()
108 MachO::S_16BYTE_LITERALS, in InitMachOMCObjectFileInfo()
117 MachO::S_COALESCED | in InitMachOMCObjectFileInfo()
[all …]
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp202 MachO::S_CSTRING_LITERALS); in parseSectionDirectiveCString()
206 MachO::S_4BYTE_LITERALS, 4); in parseSectionDirectiveLiteral4()
210 MachO::S_8BYTE_LITERALS, 8); in parseSectionDirectiveLiteral8()
214 MachO::S_16BYTE_LITERALS, 16); in parseSectionDirectiveLiteral16()
230 MachO::S_SYMBOL_STUBS | in parseSectionDirectiveSymbolStub()
231 MachO::S_ATTR_PURE_INSTRUCTIONS, in parseSectionDirectiveSymbolStub()
237 MachO::S_SYMBOL_STUBS | in parseSectionDirectivePICSymbolStub()
238 MachO::S_ATTR_PURE_INSTRUCTIONS, 0, 26); in parseSectionDirectivePICSymbolStub()
248 MachO::S_NON_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveNonLazySymbolPointers()
252 MachO::S_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveLazySymbolPointers()
[all …]
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp102 MachO::any_relocation_info RE = Obj.getRelocation(I->getRawDataRefImpl()); in DumpSectionData()
127 MachO::segment_command SLC = Obj.getSegmentLoadCommand(LCI); in DumpSegmentCommand()
136 MachO::section Sect = Obj.getSection(LCI, i); in DumpSegmentCommand()
150 MachO::segment_command_64 SLC = Obj.getSegment64LoadCommand(LCI); in DumpSegment64Command()
158 MachO::section_64 Sect = Obj.getSection64(LCI, i); in DumpSegment64Command()
189 MachO::symtab_command SLC = Obj.getSymtabLoadCommand(); in DumpSymtabCommand()
208 MachO::nlist_64 STE = Obj.getSymbol64TableEntry(DRI); in DumpSymtabCommand()
213 MachO::nlist STE = Obj.getSymbolTableEntry(DRI); in DumpSymtabCommand()
226 MachO::dysymtab_command DLC = Obj.getDysymtabLoadCommand(); in DumpDysymtabCommand()
262 MachO::linkedit_data_command LLC = Obj.getLinkeditDataLoadCommand(LCI); in DumpLinkeditDataCommand()
[all …]
/external/llvm/tools/llvm-objdump/
DMachODump.cpp221 case MachO::DICE_KIND_DATA: in DumpDataInCode()
241 if (Kind == MachO::DICE_KIND_DATA) in DumpDataInCode()
246 case MachO::DICE_KIND_JUMP_TABLE8: in DumpDataInCode()
253 case MachO::DICE_KIND_JUMP_TABLE16: in DumpDataInCode()
261 case MachO::DICE_KIND_JUMP_TABLE32: in DumpDataInCode()
262 case MachO::DICE_KIND_ABS_JUMP_TABLE32: in DumpDataInCode()
267 if (Kind == MachO::DICE_KIND_JUMP_TABLE32) in DumpDataInCode()
277 static void getSectionsAndSymbols(const MachO::mach_header Header, in getSectionsAndSymbols()
300 if (Command.C.cmd == MachO::LC_FUNCTION_STARTS) { in getSectionsAndSymbols()
303 MachO::linkedit_data_command LLC = in getSectionsAndSymbols()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp131 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation()
139 Type = MachO::X86_64_RELOC_BRANCH; in RecordX86_64Relocation()
194 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation()
196 MachO::any_relocation_info MRE; in RecordX86_64Relocation()
206 Type = MachO::X86_64_RELOC_SUBTRACTOR; in RecordX86_64Relocation()
224 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in RecordX86_64Relocation()
268 Type = MachO::X86_64_RELOC_GOT_LOAD; in RecordX86_64Relocation()
270 Type = MachO::X86_64_RELOC_GOT; in RecordX86_64Relocation()
272 Type = MachO::X86_64_RELOC_TLV; in RecordX86_64Relocation()
277 Type = MachO::X86_64_RELOC_SIGNED; in RecordX86_64Relocation()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp47 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo()
63 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
68 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
81 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo()
84 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
87 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
98 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo()
101 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
104 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
111 RelocType = unsigned(MachO::ARM64_RELOC_BRANCH26); in getAArch64FixupKindMachOInfo()
[all …]
/external/lldb/source/Core/
DArchSpec.cpp157 …{ ArchSpec::eCore_arm_generic , llvm::MachO::CPUTypeARM , CPU_ANY, UINT32_MAX , UINT32_M…
158 …{ ArchSpec::eCore_arm_generic , llvm::MachO::CPUTypeARM , 0 , UINT32_MAX , SUBTYPE_…
159 …{ ArchSpec::eCore_arm_armv4 , llvm::MachO::CPUTypeARM , 5 , UINT32_MAX , SUBTYPE_…
160 …{ ArchSpec::eCore_arm_armv4t , llvm::MachO::CPUTypeARM , 5 , UINT32_MAX , SUBTYPE_…
161 …{ ArchSpec::eCore_arm_armv6 , llvm::MachO::CPUTypeARM , 6 , UINT32_MAX , SUBTYPE_…
162 …{ ArchSpec::eCore_arm_armv5 , llvm::MachO::CPUTypeARM , 7 , UINT32_MAX , SUBTYPE_…
163 …{ ArchSpec::eCore_arm_armv5e , llvm::MachO::CPUTypeARM , 7 , UINT32_MAX , SUBTYPE_…
164 …{ ArchSpec::eCore_arm_armv5t , llvm::MachO::CPUTypeARM , 7 , UINT32_MAX , SUBTYPE_…
165 …{ ArchSpec::eCore_arm_xscale , llvm::MachO::CPUTypeARM , 8 , UINT32_MAX , SUBTYPE_…
166 …{ ArchSpec::eCore_arm_armv7 , llvm::MachO::CPUTypeARM , 9 , UINT32_MAX , SUBTYPE_…
[all …]
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.cpp292 case llvm::MachO::HeaderMagic32: in LocateDYLD()
293 case llvm::MachO::HeaderMagic64: in LocateDYLD()
294 case llvm::MachO::HeaderMagic32Swapped: in LocateDYLD()
295 case llvm::MachO::HeaderMagic64Swapped: in LocateDYLD()
387 if (m_dyld.header.filetype == llvm::MachO::HeaderFileTypeDynamicLinkEditor) in ReadDYLDInfoFromMemoryAndSetNotificationCallback()
841 if (image_infos[idx].header.filetype == llvm::MachO::HeaderFileTypeDynamicLinkEditor) in AddModulesUsingImageInfos()
1142 DynamicLoaderMacOSXDYLD::ReadMachHeader (lldb::addr_t addr, llvm::MachO::mach_header *header, DataE… in ReadMachHeader()
1144 DataBufferHeap header_bytes(sizeof(llvm::MachO::mach_header), 0); in ReadMachHeader()
1150 if (bytes_read == sizeof(llvm::MachO::mach_header)) in ReadMachHeader()
1153 ::memset (header, 0, sizeof(llvm::MachO::mach_header)); in ReadMachHeader()
[all …]
/external/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp145 llvm::MachO::mach_header header; in GetDynamicLoaderAddress()
149 if (header.magic == llvm::MachO::HeaderMagic32Swapped || in GetDynamicLoaderAddress()
150 header.magic == llvm::MachO::HeaderMagic64Swapped) in GetDynamicLoaderAddress()
163 if (header.magic == llvm::MachO::HeaderMagic32 || in GetDynamicLoaderAddress()
164 header.magic == llvm::MachO::HeaderMagic64) in GetDynamicLoaderAddress()
173 case llvm::MachO::HeaderFileTypeDynamicLinkEditor: in GetDynamicLoaderAddress()
180 case llvm::MachO::HeaderFileTypeExecutable: in GetDynamicLoaderAddress()
184 if ((header.flags & llvm::MachO::HeaderFlagBitIsDynamicLinkObject) == 0) in GetDynamicLoaderAddress()
239 llvm::MachO::mach_header header; in DoLoadCore()
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.h160 llvm::MachO::mach_header &header);
164 GetUUID (const llvm::MachO::mach_header &header,
185 llvm::MachO::mach_header m_header;
192 llvm::MachO::dysymtab_command m_dysymtab;
193 std::vector<llvm::MachO::segment_command_64> m_mach_segments;
194 std::vector<llvm::MachO::section_64> m_mach_sections;

1234