Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp76 MachO::swapStruct(Cmd); in getStruct()
89 MachO::swapStruct(Cmd); in getStructOrErr()
99 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : in getSectionPtr()
100 sizeof(MachO::segment_command); in getSectionPtr()
101 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr()
102 sizeof(MachO::section); in getSectionPtr()
113 static MachO::nlist_base
116 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase()
136 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress()
141 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress()
[all …]
DMachOUniversal.cpp50 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch()
51 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
52 Index * sizeof(MachO::fat_arch); in ObjectForArch()
53 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); in ObjectForArch()
55 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch()
56 Index * sizeof(MachO::fat_arch_64); in ObjectForArch()
57 Header64 = getUniversalBinaryStruct<MachO::fat_arch_64>(HeaderPos); in ObjectForArch()
71 if (Parent->getMagic() == MachO::FAT_MAGIC) { in getAsObjectFile()
91 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAsArchive()
116 if (Data.getBufferSize() < sizeof(MachO::fat_header)) { in MachOUniversalBinary()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DArchitecture.def1 //===- llvm/TextAPI/MachO/Architecture.def - Architecture -----------------===//
16 ARCHINFO(i386, MachO::CPU_TYPE_I386, MachO::CPU_SUBTYPE_I386_ALL)
17 ARCHINFO(x86_64, MachO::CPU_TYPE_X86_64, MachO::CPU_SUBTYPE_X86_64_ALL)
18 ARCHINFO(x86_64h, MachO::CPU_TYPE_X86_64, MachO::CPU_SUBTYPE_X86_64_H)
24 ARCHINFO(armv4t, MachO::CPU_TYPE_ARM, MachO::CPU_SUBTYPE_ARM_V4T)
25 ARCHINFO(armv6, MachO::CPU_TYPE_ARM, MachO::CPU_SUBTYPE_ARM_V6)
26 ARCHINFO(armv5, MachO::CPU_TYPE_ARM, MachO::CPU_SUBTYPE_ARM_V5TEJ)
27 ARCHINFO(armv7, MachO::CPU_TYPE_ARM, MachO::CPU_SUBTYPE_ARM_V7)
28 ARCHINFO(armv7s, MachO::CPU_TYPE_ARM, MachO::CPU_SUBTYPE_ARM_V7S)
29 ARCHINFO(armv7k, MachO::CPU_TYPE_ARM, MachO::CPU_SUBTYPE_ARM_V7K)
[all …]
DPlatform.h19 namespace MachO {
24 macOS = MachO::PLATFORM_MACOS,
25 iOS = MachO::PLATFORM_IOS,
26 tvOS = MachO::PLATFORM_TVOS,
27 watchOS = MachO::PLATFORM_WATCHOS,
28 bridgeOS = MachO::PLATFORM_BRIDGEOS,
29 macCatalyst = MachO::PLATFORM_MACCATALYST,
30 iOSSimulator = MachO::PLATFORM_IOSSIMULATOR,
31 tvOSSimulator = MachO::PLATFORM_TVOSSIMULATOR,
32 watchOSSimulator = MachO::PLATFORM_WATCHOSSIMULATOR
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOAArch64.h51 case MachO::ARM64_RELOC_POINTER_TO_GOT: in decodeAddend()
52 case MachO::ARM64_RELOC_UNSIGNED: { in decodeAddend()
65 case MachO::ARM64_RELOC_BRANCH26: in decodeAddend()
66 case MachO::ARM64_RELOC_PAGE21: in decodeAddend()
67 case MachO::ARM64_RELOC_PAGEOFF12: in decodeAddend()
68 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: in decodeAddend()
69 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: in decodeAddend()
79 case MachO::ARM64_RELOC_POINTER_TO_GOT: in decodeAddend()
80 case MachO::ARM64_RELOC_UNSIGNED: in decodeAddend()
87 case MachO::ARM64_RELOC_BRANCH26: { in decodeAddend()
[all …]
DRuntimeDyldMachOARM.h70 case MachO::ARM_RELOC_BR24: { in decodeAddend()
77 case MachO::ARM_THUMB_RELOC_BR22: { in decodeAddend()
107 MachO::any_relocation_info RelInfo = in processRelocationRef()
134 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) in processRelocationRef()
137 else if (RelType == MachO::GENERIC_RELOC_VANILLA) in processRelocationRef()
146 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PAIR); in processRelocationRef()
147 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_SECTDIFF); in processRelocationRef()
148 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_LOCAL_SECTDIFF); in processRelocationRef()
149 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PB_LA_PTR); in processRelocationRef()
150 UNIMPLEMENTED_RELOC(MachO::ARM_THUMB_32BIT_BRANCH); in processRelocationRef()
[all …]
DRuntimeDyldMachOX86_64.h40 MachO::any_relocation_info RelInfo = in processRelocationRef()
44 if (RelType == MachO::X86_64_RELOC_SUBTRACTOR) in processRelocationRef()
63 UNIMPLEMENTED_RELOC(MachO::X86_64_RELOC_TLV); in processRelocationRef()
65 if (RelType > MachO::X86_64_RELOC_TLV) in processRelocationRef()
72 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef()
73 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef()
103 case MachO::X86_64_RELOC_SIGNED_1: in resolveRelocation()
104 case MachO::X86_64_RELOC_SIGNED_2: in resolveRelocation()
105 case MachO::X86_64_RELOC_SIGNED_4: in resolveRelocation()
106 case MachO::X86_64_RELOC_SIGNED: 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()
56 UNIMPLEMENTED_RELOC(MachO::GENERIC_RELOC_PAIR); in processRelocationRef()
57 UNIMPLEMENTED_RELOC(MachO::GENERIC_RELOC_PB_LA_PTR); in processRelocationRef()
58 UNIMPLEMENTED_RELOC(MachO::GENERIC_RELOC_TLV); in processRelocationRef()
60 if (RelType > MachO::GENERIC_RELOC_TLV) in processRelocationRef()
110 case MachO::GENERIC_RELOC_VANILLA: in resolveRelocation()
113 case MachO::GENERIC_RELOC_SECTDIFF: in resolveRelocation()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMachOYAML.cpp92 if (FileHdr.magic == MachO::MH_MAGIC_64 || in mapping()
93 FileHdr.magic == MachO::MH_CIGAM_64) in mapping()
205 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData()
211 void mapLoadCommandData<MachO::segment_command_64>( in mapLoadCommandData()
217 void mapLoadCommandData<MachO::dylib_command>( in mapLoadCommandData()
223 void mapLoadCommandData<MachO::rpath_command>( in mapLoadCommandData()
229 void mapLoadCommandData<MachO::dylinker_command>( in mapLoadCommandData()
235 void mapLoadCommandData<MachO::build_version_command>( in mapLoadCommandData()
242 MachO::LoadCommandType TempCmd = static_cast<MachO::LoadCommandType>( in mapping()
249 case MachO::LCName: \ in mapping()
[all …]
DMachOEmitter.cpp31 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || in MachOWriter()
32 Obj.Header.magic == MachO::MH_CIGAM_64; in MachOWriter()
33 memset(reinterpret_cast<void *>(&Header), 0, sizeof(MachO::mach_header_64)); in MachOWriter()
62 MachO::mach_header_64 Header;
83 MachO::swapStruct(Header); in writeHeader()
86 is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in writeHeader()
114 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
119 auto TempSec = constructSection<MachO::section>(Sec); in writeLoadCommandData()
121 MachO::swapStruct(TempSec); in writeLoadCommandData()
123 sizeof(MachO::section)); in writeLoadCommandData()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMachO.h266 MachO::load_command C; // The command itself.
470 bool isRelocationScattered(const MachO::any_relocation_info &RE) const;
472 const MachO::any_relocation_info &RE) const;
473 bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const;
475 const MachO::any_relocation_info &RE) const;
477 const MachO::any_relocation_info &RE) const;
479 const MachO::any_relocation_info &RE) const;
480 unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const;
481 unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const;
482 unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp64 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo()
98 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo()
106 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo()
120 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
124 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
129 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
133 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
158 unsigned Type = MachO::ARM_RELOC_HALF; in RecordARMScatteredHalfRelocation()
186 Type = MachO::ARM_RELOC_HALF_SECTDIFF; in RecordARMScatteredHalfRelocation()
227 if (Type == MachO::ARM_RELOC_HALF_SECTDIFF) { in RecordARMScatteredHalfRelocation()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMachObjectWriter.cpp133 void MachObjectWriter::writeHeader(MachO::HeaderFileType Type, in writeHeader()
140 Flags |= MachO::MH_SUBSECTIONS_VIA_SYMBOLS; in writeHeader()
148 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
160 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
161 : sizeof(MachO::mach_header))); in writeHeader()
185 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
186 sizeof(MachO::segment_command); in writeSegmentLoadCommand()
187 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
189 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
190 sizeof(MachO::section))); in writeSegmentLoadCommand()
[all …]
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_THREAD_LOCAL_VARIABLE_POINTERS: in isSectionAtomizableBySymbols()
52 case MachO::S_MOD_INIT_FUNC_POINTERS: in isSectionAtomizableBySymbols()
53 case MachO::S_MOD_TERM_FUNC_POINTERS: in isSectionAtomizableBySymbols()
[all …]
DMCObjectFileInfo.cpp55 MachO::S_COALESCED | MachO::S_ATTR_NO_TOC | in initMachOMCObjectFileInfo()
56 MachO::S_ATTR_STRIP_STATIC_SYMS | MachO::S_ATTR_LIVE_SUPPORT, in initMachOMCObjectFileInfo()
74 MachO::S_ATTR_PURE_INSTRUCTIONS, in initMachOMCObjectFileInfo()
84 MachO::S_THREAD_LOCAL_REGULAR, in initMachOMCObjectFileInfo()
88 MachO::S_THREAD_LOCAL_ZEROFILL, in initMachOMCObjectFileInfo()
94 MachO::S_THREAD_LOCAL_VARIABLES, in initMachOMCObjectFileInfo()
98 "__DATA", "__thread_init", MachO::S_THREAD_LOCAL_INIT_FUNCTION_POINTERS, in initMachOMCObjectFileInfo()
103 MachO::S_CSTRING_LITERALS, in initMachOMCObjectFileInfo()
110 MachO::S_4BYTE_LITERALS, in initMachOMCObjectFileInfo()
114 MachO::S_8BYTE_LITERALS, in initMachOMCObjectFileInfo()
[all …]
DMCSectionMachO.cpp20 } SectionTypeDescriptors[MachO::LAST_KNOWN_SECTION_TYPE + 1] = {
68 { MachO::ENUM, StringLiteral(ASMNAME), StringLiteral(#ENUM) },
115 MachO::SectionType SectionType = getType(); in PrintSwitchToSection()
116 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
129 unsigned SectionAttrs = TAA & MachO::SECTION_ATTRIBUTES; in PrintSwitchToSection()
168 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in UseCodeAlign()
172 return (getType() == MachO::S_ZEROFILL || in isVirtualSection()
173 getType() == MachO::S_GB_ZEROFILL || in isVirtualSection()
174 getType() == MachO::S_THREAD_LOCAL_ZEROFILL); in isVirtualSection()
240 if (TAA == MachO::S_SYMBOL_STUBS) in ParseSectionSpecifier()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp90 unsigned Type = MachO::GENERIC_RELOC_VANILLA; in getRelocType()
96 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 in getRelocType()
99 Type = MachO::PPC_RELOC_BR14; in getRelocType()
106 Type = MachO::PPC_RELOC_HA16; in getRelocType()
109 Type = MachO::PPC_RELOC_LO16; in getRelocType()
112 Type = MachO::PPC_RELOC_HI16; in getRelocType()
126 Type = MachO::PPC_RELOC_HA16_SECTDIFF; in getRelocType()
129 Type = MachO::PPC_RELOC_LO16_SECTDIFF; in getRelocType()
132 Type = MachO::PPC_RELOC_HI16_SECTDIFF; in getRelocType()
145 static void makeRelocationInfo(MachO::any_relocation_info &MRE, in makeRelocationInfo()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp234 MachO::S_CSTRING_LITERALS); in parseSectionDirectiveCString()
239 MachO::S_4BYTE_LITERALS, 4); in parseSectionDirectiveLiteral4()
244 MachO::S_8BYTE_LITERALS, 8); in parseSectionDirectiveLiteral8()
249 MachO::S_16BYTE_LITERALS, 16); in parseSectionDirectiveLiteral16()
270 MachO::S_SYMBOL_STUBS | in parseSectionDirectiveSymbolStub()
271 MachO::S_ATTR_PURE_INSTRUCTIONS, in parseSectionDirectiveSymbolStub()
278 MachO::S_SYMBOL_STUBS | in parseSectionDirectivePICSymbolStub()
279 MachO::S_ATTR_PURE_INSTRUCTIONS, 0, 26); in parseSectionDirectivePICSymbolStub()
292 MachO::S_NON_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveNonLazySymbolPointers()
297 MachO::S_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveLazySymbolPointers()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTextStubCommon.h24 using UUID = std::pair<llvm::MachO::Target, std::string>;
40 template <> struct ScalarEnumerationTraits<MachO::ObjCConstraintType> { in LLVM_YAML_STRONG_TYPEDEF()
41 static void enumeration(IO &, MachO::ObjCConstraintType &); in LLVM_YAML_STRONG_TYPEDEF()
44 template <> struct ScalarTraits<MachO::PlatformSet> { in LLVM_YAML_STRONG_TYPEDEF()
45 static void output(const MachO::PlatformSet &, void *, raw_ostream &); in LLVM_YAML_STRONG_TYPEDEF()
46 static StringRef input(StringRef, void *, MachO::PlatformSet &); in LLVM_YAML_STRONG_TYPEDEF()
50 template <> struct ScalarBitSetTraits<MachO::ArchitectureSet> { in LLVM_YAML_STRONG_TYPEDEF()
51 static void bitset(IO &, MachO::ArchitectureSet &); in LLVM_YAML_STRONG_TYPEDEF()
54 template <> struct ScalarTraits<MachO::Architecture> { in LLVM_YAML_STRONG_TYPEDEF()
55 static void output(const MachO::Architecture &, void *, raw_ostream &); in LLVM_YAML_STRONG_TYPEDEF()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DMachOYAML.h60 llvm::MachO::macho_load_command Data;
62 std::vector<MachO::build_tool_version> Tools;
77 MachO::RebaseOpcode Opcode;
83 MachO::BindOpcode Opcode;
153 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachO::build_tool_version) in LLVM_YAML_IS_SEQUENCE_VECTOR()
210 template <> struct MappingTraits<MachO::build_tool_version> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
211 static void mapping(IO &IO, MachO::build_tool_version &tool); in LLVM_YAML_IS_SEQUENCE_VECTOR()
215 io.enumCase(value, #LCName, MachO::LCName); in LLVM_YAML_IS_SEQUENCE_VECTOR()
217 template <> struct ScalarEnumerationTraits<MachO::LoadCommandType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
218 static void enumeration(IO &io, MachO::LoadCommandType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp54 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo()
70 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
75 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
88 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo()
91 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
94 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
106 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo()
109 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
112 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
119 RelocType = unsigned(MachO::ARM64_RELOC_BRANCH26); in getAArch64FixupKindMachOInfo()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp134 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation()
142 Type = MachO::X86_64_RELOC_BRANCH; in RecordX86_64Relocation()
203 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation()
205 MachO::any_relocation_info MRE; in RecordX86_64Relocation()
215 Type = MachO::X86_64_RELOC_SUBTRACTOR; in RecordX86_64Relocation()
232 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in RecordX86_64Relocation()
280 Type = MachO::X86_64_RELOC_GOT_LOAD; in RecordX86_64Relocation()
282 Type = MachO::X86_64_RELOC_GOT; in RecordX86_64Relocation()
284 Type = MachO::X86_64_RELOC_TLV; in RecordX86_64Relocation()
290 Type = MachO::X86_64_RELOC_SIGNED; in RecordX86_64Relocation()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/
DCMakeLists.txt4 MachO/Architecture.cpp
5 MachO/ArchitectureSet.cpp
6 MachO/InterfaceFile.cpp
7 MachO/PackedVersion.cpp
8 MachO/Platform.cpp
9 MachO/Symbol.cpp
10 MachO/Target.cpp
11 MachO/TextStub.cpp
12 MachO/TextStubCommon.cpp
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachO.cpp49 if (Magic == MachO::MH_MAGIC || Magic == MachO::MH_CIGAM) { in jitLink_MachO()
53 } else if (Magic == MachO::MH_MAGIC_64 || Magic == MachO::MH_CIGAM_64) { in jitLink_MachO()
54 MachO::mach_header_64 Header; in jitLink_MachO()
56 memcpy(&Header, Data.data(), sizeof(MachO::mach_header_64)); in jitLink_MachO()
57 if (Magic == MachO::MH_CIGAM_64) in jitLink_MachO()
68 case MachO::CPU_TYPE_ARM64: in jitLink_MachO()
70 case MachO::CPU_TYPE_X86_64: in jitLink_MachO()
DMachOLinkGraphBuilder.cpp61 if ((Desc & MachO::N_WEAK_DEF) || (Desc & MachO::N_WEAK_REF)) in getLinkage()
69 if (Type & MachO::N_PEXT) in getScope()
71 if (Type & MachO::N_EXT) in getScope()
77 return NSym.Desc & MachO::N_ALT_ENTRY; in isAltEntry()
116 const MachO::section_64 &Sec64 = in createNormalizedSections()
125 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
142 unsigned SectionType = NSec.Flags & MachO::SECTION_TYPE; in createNormalizedSections()
143 if (SectionType != MachO::S_ZEROFILL && in createNormalizedSections()
144 SectionType != MachO::S_GB_ZEROFILL) { in createNormalizedSections()
158 if (NSec.Flags & MachO::S_ATTR_PURE_INSTRUCTIONS) in createNormalizedSections()
[all …]

12345