/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 84 { "Magic", MachO::MH_MAGIC }, 85 { "Cigam", MachO::MH_CIGAM }, 86 { "Magic64", MachO::MH_MAGIC_64 }, 87 { "Cigam64", MachO::MH_CIGAM_64 }, 88 { "FatMagic", MachO::FAT_MAGIC }, 89 { "FatCigam", MachO::FAT_CIGAM }, 93 { "Relocatable", MachO::MH_OBJECT }, 94 { "Executable", MachO::MH_EXECUTE }, 95 { "FixedVMLibrary", MachO::MH_FVMLIB }, 96 { "Core", MachO::MH_CORE }, [all …]
|
/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 58 MachO::swapStruct(Cmd); in getStruct() 71 MachO::swapStruct(Cmd); in getStructOrErr() 81 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : in getSectionPtr() 82 sizeof(MachO::segment_command); in getSectionPtr() 83 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr() 84 sizeof(MachO::section); in getSectionPtr() 94 static MachO::nlist_base 97 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase() 120 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress() 125 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress() [all …]
|
D | MachOUniversal.cpp | 50 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() 58 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch() 59 Index * sizeof(MachO::fat_arch_64); in ObjectForArch() 60 Header64 = getUniversalBinaryStruct<MachO::fat_arch_64>(HeaderPos); in ObjectForArch() 76 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAsObjectFile() 93 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAsArchive() 118 if (Data.getBufferSize() < sizeof(MachO::fat_header)) { in MachOUniversalBinary() [all …]
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 277 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit() local 278 return MachO->is64Bit(); in isSymbolList64Bit() 296 MachO::mach_header H; in darwinPrintSymbol() 297 MachO::mach_header_64 H_64; in darwinPrintSymbol() 298 uint32_t Filetype = MachO::MH_OBJECT; in darwinPrintSymbol() 305 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol() local 309 NType |= MachO::N_EXT; in darwinPrintSymbol() 311 NType |= MachO::N_PEXT; in darwinPrintSymbol() 313 NType |= MachO::N_EXT | MachO::N_UNDF; in darwinPrintSymbol() 318 NType |= MachO::N_SECT; in darwinPrintSymbol() [all …]
|
/external/llvm/lib/ObjectYAML/ |
D | MachOYAML.cpp | 83 if (FileHdr.magic == MachO::MH_MAGIC_64 || in mapping() 84 FileHdr.magic == MachO::MH_CIGAM_64) in mapping() 187 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData() 193 void mapLoadCommandData<MachO::segment_command_64>( in mapLoadCommandData() 199 void mapLoadCommandData<MachO::dylib_command>( in mapLoadCommandData() 205 void mapLoadCommandData<MachO::rpath_command>( in mapLoadCommandData() 211 void mapLoadCommandData<MachO::dylinker_command>( in mapLoadCommandData() 218 MachO::LoadCommandType TempCmd = static_cast<MachO::LoadCommandType>( in mapping() 225 case MachO::LCName: \ in mapping() 226 MappingTraits<MachO::LCStruct>::mapping(IO, \ in mapping() [all …]
|
/external/llvm/include/llvm/Object/ |
D | MachO.h | 191 MachO::load_command C; // The command itself. 317 bool isRelocationScattered(const MachO::any_relocation_info &RE) const; 319 const MachO::any_relocation_info &RE) const; 320 bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const; 322 const MachO::any_relocation_info &RE) const; 324 const MachO::any_relocation_info &RE) const; 326 const MachO::any_relocation_info &RE) const; 327 unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const; 328 unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const; 329 unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const; [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 44 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 …]
|
D | RuntimeDyldMachOARM.h | 44 case MachO::ARM_RELOC_BR24: { in decodeAddend() 60 MachO::any_relocation_info RelInfo = in processRelocationRef() 65 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) in processRelocationRef() 68 else if (RelType == MachO::GENERIC_RELOC_VANILLA) in processRelocationRef() 76 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PAIR); in processRelocationRef() 77 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_SECTDIFF); in processRelocationRef() 78 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_LOCAL_SECTDIFF); in processRelocationRef() 79 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PB_LA_PTR); in processRelocationRef() 80 UNIMPLEMENTED_RELOC(MachO::ARM_THUMB_RELOC_BR22); in processRelocationRef() 81 UNIMPLEMENTED_RELOC(MachO::ARM_THUMB_32BIT_BRANCH); in processRelocationRef() [all …]
|
D | RuntimeDyldMachOX86_64.h | 41 MachO::any_relocation_info RelInfo = in processRelocationRef() 45 if (RelType == MachO::X86_64_RELOC_SUBTRACTOR) in processRelocationRef() 64 UNIMPLEMENTED_RELOC(MachO::X86_64_RELOC_TLV); in processRelocationRef() 66 if (RelType > MachO::X86_64_RELOC_TLV) in processRelocationRef() 73 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef() 74 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef() 104 case MachO::X86_64_RELOC_SIGNED_1: in resolveRelocation() 105 case MachO::X86_64_RELOC_SIGNED_2: in resolveRelocation() 106 case MachO::X86_64_RELOC_SIGNED_4: in resolveRelocation() 107 case MachO::X86_64_RELOC_SIGNED: in resolveRelocation() [all …]
|
/external/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 172 {MachO::N_GSYM, "N_GSYM"}, {MachO::N_FNAME, "N_FNAME"}, 173 {MachO::N_FUN, "N_FUN"}, {MachO::N_STSYM, "N_STSYM"}, 174 {MachO::N_LCSYM, "N_LCSYM"}, {MachO::N_BNSYM, "N_BNSYM"}, 175 {MachO::N_PC, "N_PC"}, {MachO::N_AST, "N_AST"}, 176 {MachO::N_OPT, "N_OPT"}, {MachO::N_RSYM, "N_RSYM"}, 177 {MachO::N_SLINE, "N_SLINE"}, {MachO::N_ENSYM, "N_ENSYM"}, 178 {MachO::N_SSYM, "N_SSYM"}, {MachO::N_SO, "N_SO"}, 179 {MachO::N_OSO, "N_OSO"}, {MachO::N_LSYM, "N_LSYM"}, 180 {MachO::N_BINCL, "N_BINCL"}, {MachO::N_SOL, "N_SOL"}, 181 {MachO::N_PARAMS, "N_PARAM"}, {MachO::N_VERSION, "N_VERS"}, [all …]
|
D | MachOUtils.cpp | 107 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) { in adaptFrom32bits() 108 MachO::segment_command_64 Seg64; in adaptFrom32bits() 128 MachO::segment_command_64 Segment; in iterateOnSegments() 129 if (LCI.C.cmd == MachO::LC_SEGMENT) in iterateOnSegments() 131 else if (LCI.C.cmd == MachO::LC_SEGMENT_64) in iterateOnSegments() 149 if ((NList.n_type & MachO::N_TYPE) == MachO::N_UNDF) in transferSymbol() 155 (NList.n_type != MachO::N_SO) || (!Name.empty() && Name[0] != '\0'); in transferSymbol() 157 } else if (NList.n_type == MachO::N_SO) { in transferSymbol() 167 MachO::swapStruct(NList); in transferSymbol() 203 static MachO::section [all …]
|
/external/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 44 case MachO::LCName: \ 46 sizeof(MachO::LCStruct)); \ 48 MachO::swapStruct(LC.Data.LCStruct##_data); \ 49 EndPtr = processLoadCommandData<MachO::LCStruct>(LC, LoadCmd); \ 73 template <> MachOYAML::Section constructSection(MachO::section Sec) { in constructSection() 79 template <> MachOYAML::Section constructSection(MachO::section_64 Sec) { in constructSection() 97 MachO::swapStruct(Sec); in extractSections() 114 const char *MachODumper::processLoadCommandData<MachO::segment_command>( in processLoadCommandData() 117 return extractSections<MachO::section, MachO::segment_command>( in processLoadCommandData() 122 const char *MachODumper::processLoadCommandData<MachO::segment_command_64>( in processLoadCommandData() [all …]
|
/external/llvm/lib/MC/ |
D | MachObjectWriter.cpp | 119 void MachObjectWriter::writeHeader(MachO::HeaderFileType Type, in writeHeader() 126 Flags |= MachO::MH_SUBSECTIONS_VIA_SYMBOLS; in writeHeader() 134 write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader() 148 (is64Bit() ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header))); in writeHeader() 166 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand() 167 sizeof(MachO::segment_command); in writeSegmentLoadCommand() 168 write32(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand() 170 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand() 171 sizeof(MachO::section))); in writeSegmentLoadCommand() 238 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection() [all …]
|
D | MCAsmInfoDarwin.cpp | 29 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 …]
|
D | MCObjectFileInfo.cpp | 54 MachO::S_COALESCED | MachO::S_ATTR_NO_TOC | in initMachOMCObjectFileInfo() 55 MachO::S_ATTR_STRIP_STATIC_SYMS | MachO::S_ATTR_LIVE_SUPPORT, in initMachOMCObjectFileInfo() 76 MachO::S_ATTR_PURE_INSTRUCTIONS, in initMachOMCObjectFileInfo() 86 MachO::S_THREAD_LOCAL_REGULAR, in initMachOMCObjectFileInfo() 90 MachO::S_THREAD_LOCAL_ZEROFILL, in initMachOMCObjectFileInfo() 96 MachO::S_THREAD_LOCAL_VARIABLES, in initMachOMCObjectFileInfo() 100 "__DATA", "__thread_init", MachO::S_THREAD_LOCAL_INIT_FUNCTION_POINTERS, in initMachOMCObjectFileInfo() 105 MachO::S_CSTRING_LITERALS, in initMachOMCObjectFileInfo() 112 MachO::S_4BYTE_LITERALS, in initMachOMCObjectFileInfo() 116 MachO::S_8BYTE_LITERALS, in initMachOMCObjectFileInfo() [all …]
|
D | MCSectionMachO.cpp | 21 } 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 …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 63 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo() 97 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo() 105 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo() 119 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 123 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 128 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 132 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 148 unsigned Type = MachO::ARM_RELOC_HALF; in RecordARMScatteredHalfRelocation() 176 Type = MachO::ARM_RELOC_HALF_SECTDIFF; in RecordARMScatteredHalfRelocation() 217 if (Type == MachO::ARM_RELOC_HALF_SECTDIFF) { in RecordARMScatteredHalfRelocation() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMachObjectWriter.cpp | 91 unsigned Type = MachO::GENERIC_RELOC_VANILLA; in getRelocType() 97 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 in getRelocType() 100 Type = MachO::PPC_RELOC_BR14; in getRelocType() 107 Type = MachO::PPC_RELOC_HA16; in getRelocType() 110 Type = MachO::PPC_RELOC_LO16; in getRelocType() 113 Type = MachO::PPC_RELOC_HI16; in getRelocType() 127 Type = MachO::PPC_RELOC_HA16_SECTDIFF; in getRelocType() 130 Type = MachO::PPC_RELOC_LO16_SECTDIFF; in getRelocType() 133 Type = MachO::PPC_RELOC_HI16_SECTDIFF; in getRelocType() 146 static void makeRelocationInfo(MachO::any_relocation_info &MRE, in makeRelocationInfo() [all …]
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 204 static void printDarwinSectionSizes(MachOObjectFile *MachO) { in printDarwinSectionSizes() argument 212 uint32_t Filetype = MachO->getHeader().filetype; in printDarwinSectionSizes() 215 for (const auto &Load : MachO->load_commands()) { in printDarwinSectionSizes() 216 if (Load.C.cmd == MachO::LC_SEGMENT_64) { in printDarwinSectionSizes() 217 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in printDarwinSectionSizes() 227 MachO::section_64 Sec = MachO->getSection64(Load, J); in printDarwinSectionSizes() 228 if (Filetype == MachO::MH_OBJECT) in printDarwinSectionSizes() 242 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in printDarwinSectionSizes() 243 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes() 254 MachO::section Sec = MachO->getSection(Load, J); in printDarwinSectionSizes() [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2macho.cpp | 32 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || in MachOWriter() 33 Obj.Header.magic == MachO::MH_CIGAM_64; in MachOWriter() 34 memset(reinterpret_cast<void *>(&Header), 0, sizeof(MachO::mach_header_64)); in MachOWriter() 62 MachO::mach_header_64 Header; 87 is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in writeHeader() 116 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 120 auto TempSec = constructSection<MachO::section>(Sec); in writeLoadCommandData() 122 sizeof(MachO::section)); in writeLoadCommandData() 123 BytesWritten += sizeof(MachO::section); in writeLoadCommandData() 130 writeLoadCommandData<MachO::segment_command_64>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 238 case MachO::DICE_KIND_DATA: in DumpDataInCode() 258 if (Kind == MachO::DICE_KIND_DATA) in DumpDataInCode() 263 case MachO::DICE_KIND_JUMP_TABLE8: in DumpDataInCode() 270 case MachO::DICE_KIND_JUMP_TABLE16: in DumpDataInCode() 278 case MachO::DICE_KIND_JUMP_TABLE32: in DumpDataInCode() 279 case MachO::DICE_KIND_ABS_JUMP_TABLE32: in DumpDataInCode() 284 if (Kind == MachO::DICE_KIND_JUMP_TABLE32) in DumpDataInCode() 320 if (Command.C.cmd == MachO::LC_FUNCTION_STARTS) { in getSectionsAndSymbols() 323 MachO::linkedit_data_command LLC = in getSectionsAndSymbols() 327 } else if (Command.C.cmd == MachO::LC_SEGMENT) { in getSectionsAndSymbols() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 46 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo() 62 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo() 67 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo() 80 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo() 83 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo() 86 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo() 99 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo() 102 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo() 105 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGE21); in getAArch64FixupKindMachOInfo() 112 RelocType = unsigned(MachO::ARM64_RELOC_BRANCH26); in getAArch64FixupKindMachOInfo() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 217 MachO::S_CSTRING_LITERALS); in parseSectionDirectiveCString() 221 MachO::S_4BYTE_LITERALS, 4); in parseSectionDirectiveLiteral4() 225 MachO::S_8BYTE_LITERALS, 8); in parseSectionDirectiveLiteral8() 229 MachO::S_16BYTE_LITERALS, 16); in parseSectionDirectiveLiteral16() 245 MachO::S_SYMBOL_STUBS | in parseSectionDirectiveSymbolStub() 246 MachO::S_ATTR_PURE_INSTRUCTIONS, in parseSectionDirectiveSymbolStub() 252 MachO::S_SYMBOL_STUBS | in parseSectionDirectivePICSymbolStub() 253 MachO::S_ATTR_PURE_INSTRUCTIONS, 0, 26); in parseSectionDirectivePICSymbolStub() 263 MachO::S_NON_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveNonLazySymbolPointers() 267 MachO::S_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveLazySymbolPointers() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachObjectWriter.cpp | 134 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation() 142 Type = MachO::X86_64_RELOC_BRANCH; in RecordX86_64Relocation() 204 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation() 206 MachO::any_relocation_info MRE; in RecordX86_64Relocation() 216 Type = MachO::X86_64_RELOC_SUBTRACTOR; in RecordX86_64Relocation() 233 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in RecordX86_64Relocation() 281 Type = MachO::X86_64_RELOC_GOT_LOAD; in RecordX86_64Relocation() 283 Type = MachO::X86_64_RELOC_GOT; in RecordX86_64Relocation() 285 Type = MachO::X86_64_RELOC_TLV; in RecordX86_64Relocation() 291 Type = MachO::X86_64_RELOC_SIGNED; in RecordX86_64Relocation() [all …]
|
/external/llvm/include/llvm/ObjectYAML/ |
D | MachOYAML.h | 53 llvm::MachO::macho_load_command Data; 68 MachO::RebaseOpcode Opcode; 74 MachO::BindOpcode Opcode; 200 io.enumCase(value, #LCName, MachO::LCName); in LLVM_YAML_IS_SEQUENCE_VECTOR() 202 template <> struct ScalarEnumerationTraits<MachO::LoadCommandType> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 203 static void enumeration(IO &io, MachO::LoadCommandType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 209 #define ENUM_CASE(Enum) io.enumCase(value, #Enum, MachO::Enum); in LLVM_YAML_IS_SEQUENCE_VECTOR() 211 template <> struct ScalarEnumerationTraits<MachO::RebaseOpcode> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 212 static void enumeration(IO &io, MachO::RebaseOpcode &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 226 template <> struct ScalarEnumerationTraits<MachO::BindOpcode> { in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|