/external/llvm/lib/MC/ |
MCAsmInfoDarwin.cpp | 29 if (SMO.getType() == MachO::S_CSTRING_LITERALS) 45 case MachO::S_4BYTE_LITERALS: 46 case MachO::S_8BYTE_LITERALS: 47 case MachO::S_16BYTE_LITERALS: 48 case MachO::S_LITERAL_POINTERS: 49 case MachO::S_NON_LAZY_SYMBOL_POINTERS: 50 case MachO::S_LAZY_SYMBOL_POINTERS: 51 case MachO::S_THREAD_LOCAL_VARIABLE_POINTERS: 52 case MachO::S_MOD_INIT_FUNC_POINTERS: 53 case MachO::S_MOD_TERM_FUNC_POINTERS [all...] |
MCSectionMachO.cpp | 1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===// 21 } SectionTypeDescriptors[MachO::LAST_KNOWN_SECTION_TYPE+1] = { 57 { MachO::ENUM, ASMNAME, #ENUM }, 104 MachO::SectionType SectionType = getType(); 105 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && 118 unsigned SectionAttrs = TAA & MachO::SECTION_ATTRIBUTES; 157 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); 161 return (getType() == MachO::S_ZEROFILL || 162 getType() == MachO::S_GB_ZEROFILL || 163 getType() == MachO::S_THREAD_LOCAL_ZEROFILL) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
MCAsmInfoDarwin.cpp | 16 #include "llvm/BinaryFormat/MachO.h" 30 if (SMO.getType() == MachO::S_CSTRING_LITERALS) 46 case MachO::S_4BYTE_LITERALS: 47 case MachO::S_8BYTE_LITERALS: 48 case MachO::S_16BYTE_LITERALS: 49 case MachO::S_LITERAL_POINTERS: 50 case MachO::S_NON_LAZY_SYMBOL_POINTERS: 51 case MachO::S_LAZY_SYMBOL_POINTERS: 52 case MachO::S_THREAD_LOCAL_VARIABLE_POINTERS: 53 case MachO::S_MOD_INIT_FUNC_POINTERS [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
MachODumper.cpp | 10 // This file implements the MachO-specific dumper for llvm-readobj. 20 #include "llvm/Object/MachO.h" 44 // MachO-specific. 86 { "Magic", MachO::MH_MAGIC }, 87 { "Cigam", MachO::MH_CIGAM }, 88 { "Magic64", MachO::MH_MAGIC_64 }, 89 { "Cigam64", MachO::MH_CIGAM_64 }, 90 { "FatMagic", MachO::FAT_MAGIC }, 91 { "FatCigam", MachO::FAT_CIGAM }, 95 { "Relocatable", MachO::MH_OBJECT } [all...] |
/external/llvm/tools/llvm-readobj/ |
MachODumper.cpp | 10 // This file implements the MachO-specific dumper for llvm-readobj. 20 #include "llvm/Object/MachO.h" 42 // MachO-specific. 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 } [all...] |
/external/llvm/lib/Object/ |
MachOObjectFile.cpp | 15 #include "llvm/Object/MachO.h" 24 #include "llvm/Support/MachO.h" 53 report_fatal_error("Malformed MachO file."); 58 MachO::swapStruct(Cmd); 71 MachO::swapStruct(Cmd); 81 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : 82 sizeof(MachO::segment_command); 83 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : 84 sizeof(MachO::section); 94 static MachO::nlist_bas [all...] |
MachOUniversal.cpp | 16 #include "llvm/Object/MachO.h" 50 if (Parent->getMagic() == MachO::FAT_MAGIC) { 51 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + 52 Index * sizeof(MachO::fat_arch); 53 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); 57 } else { // Parent->getMagic() == MachO::FAT_MAGIC_64 58 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + 59 Index * sizeof(MachO::fat_arch_64); 60 Header64 = getUniversalBinaryStruct<MachO::fat_arch_64>(HeaderPos); 76 if (Parent->getMagic() == MachO::FAT_MAGIC [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMAsmBackendDarwin.h | 14 #include "llvm/Support/MachO.h" 20 const MachO::CPUSubTypeARM Subtype; 22 const MCRegisterInfo &MRI, MachO::CPUSubTypeARM st) 27 return createARMMachObjectWriter(OS, /*Is64Bit=*/false, MachO::CPU_TYPE_ARM,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
MachOUniversal.cpp | 16 #include "llvm/Object/MachO.h" 51 if (Parent->getMagic() == MachO::FAT_MAGIC) { 52 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + 53 Index * sizeof(MachO::fat_arch); 54 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); 55 } else { // Parent->getMagic() == MachO::FAT_MAGIC_64 56 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + 57 Index * sizeof(MachO::fat_arch_64); 58 Header64 = getUniversalBinaryStruct<MachO::fat_arch_64>(HeaderPos); 72 if (Parent->getMagic() == MachO::FAT_MAGIC) [all...] |
MachOObjectFile.cpp | 23 #include "llvm/BinaryFormat/MachO.h" 25 #include "llvm/Object/MachO.h" 72 report_fatal_error("Malformed MachO file."); 77 MachO::swapStruct(Cmd); 90 MachO::swapStruct(Cmd); 100 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : 101 sizeof(MachO::segment_command); 102 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : 103 sizeof(MachO::section); 114 static MachO::nlist_bas [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMAsmBackendDarwin.h | 14 #include "llvm/BinaryFormat/MachO.h" 21 const MachO::CPUSubTypeARM Subtype; 23 const MCRegisterInfo &MRI, MachO::CPUSubTypeARM st) 28 return createARMMachObjectWriter(/*Is64Bit=*/false, MachO::CPU_TYPE_ARM,
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOARM.h | 1 //===----- RuntimeDyldMachOARM.h ---- MachO/ARM specific code. ----*- C++ -*-=// 44 case MachO::ARM_RELOC_BR24: { 60 MachO::any_relocation_info RelInfo = 65 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) 68 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 76 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PAIR); 77 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_SECTDIFF); 78 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_LOCAL_SECTDIFF); 79 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PB_LA_PTR); 80 UNIMPLEMENTED_RELOC(MachO::ARM_THUMB_RELOC_BR22) [all...] |
RuntimeDyldMachOAArch64.h | 1 //===-- RuntimeDyldMachOAArch64.h -- MachO/AArch64 specific code. -*- C++ -*-=// 44 case MachO::ARM64_RELOC_UNSIGNED: 47 case MachO::ARM64_RELOC_BRANCH26: 48 case MachO::ARM64_RELOC_PAGE21: 49 case MachO::ARM64_RELOC_PAGEOFF12: 50 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: 51 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: 61 case MachO::ARM64_RELOC_UNSIGNED: 68 case MachO::ARM64_RELOC_BRANCH26: { 80 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOAArch64.h | 1 //===-- RuntimeDyldMachOAArch64.h -- MachO/AArch64 specific code. -*- C++ -*-=// 52 case MachO::ARM64_RELOC_POINTER_TO_GOT: 53 case MachO::ARM64_RELOC_UNSIGNED: { 66 case MachO::ARM64_RELOC_BRANCH26: 67 case MachO::ARM64_RELOC_PAGE21: 68 case MachO::ARM64_RELOC_PAGEOFF12: 69 case MachO::ARM64_RELOC_GOT_LOAD_PAGE21: 70 case MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12: 80 case MachO::ARM64_RELOC_POINTER_TO_GOT: 81 case MachO::ARM64_RELOC_UNSIGNED [all...] |
RuntimeDyldMachOARM.h | 1 //===----- RuntimeDyldMachOARM.h ---- MachO/ARM specific code. ----*- C++ -*-=// 69 case MachO::ARM_RELOC_BR24: { 76 case MachO::ARM_THUMB_RELOC_BR22: { 106 MachO::any_relocation_info RelInfo = 133 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) 136 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 145 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PAIR); 146 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_SECTDIFF); 147 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_LOCAL_SECTDIFF); 148 UNIMPLEMENTED_RELOC(MachO::ARM_RELOC_PB_LA_PTR) [all...] |
/external/llvm/tools/dsymutil/ |
MachODebugMapParser.cpp | 14 #include "llvm/Object/MachO.h" 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"} [all...] |
/external/llvm/include/llvm/Object/ |
MachO.h | 1 //===- MachO.h - MachO object file implementation ---------------*- C++ -*-===// 11 // interface for MachO files. 22 #include "llvm/Support/MachO.h" 191 MachO::load_command C; // The command itself. 204 // MachO specific. 243 // MachO specific. 254 // MachO specific. 306 // In a MachO file, sections have a segment name. This is used in the .o 316 // MachO specific Info about relocations [all...] |
MachOUniversal.h | 21 #include "llvm/Object/MachO.h" 22 #include "llvm/Support/MachO.h" 40 MachO::fat_arch Header; 41 MachO::fat_arch_64 Header64; 57 if (Parent->getMagic() == MachO::FAT_MAGIC) 59 else // Parent->getMagic() == MachO::FAT_MAGIC_64 63 if (Parent->getMagic() == MachO::FAT_MAGIC) 65 else // Parent->getMagic() == MachO::FAT_MAGIC_64 69 if (Parent->getMagic() == MachO::FAT_MAGIC) 71 else // Parent->getMagic() == MachO::FAT_MAGIC_6 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/ |
llvm-nm.cpp | 29 #include "llvm/Object/MachO.h" 308 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) 309 return MachO->is64Bit(); 327 MachO::mach_header H; 328 MachO::mach_header_64 H_64; 329 uint32_t Filetype = MachO::MH_OBJECT; 336 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); 340 NType |= MachO::N_EXT; 342 NType |= MachO::N_PEXT; 344 NType |= MachO::N_EXT | MachO::N_UNDF [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
MachOYAML.cpp | 1 //===- MachOYAML.cpp - MachO YAMLIO implementation ------------------------===// 10 // This file defines classes for handling the YAML representation of MachO. 16 #include "llvm/BinaryFormat/MachO.h" 93 if (FileHdr.magic == MachO::MH_MAGIC_64 || 94 FileHdr.magic == MachO::MH_CIGAM_64) 206 void mapLoadCommandData<MachO::segment_command>( 212 void mapLoadCommandData<MachO::segment_command_64>( 218 void mapLoadCommandData<MachO::dylib_command>( 224 void mapLoadCommandData<MachO::rpath_command>( 230 void mapLoadCommandData<MachO::dylinker_command> [all...] |
/external/llvm/tools/llvm-nm/ |
llvm-nm.cpp | 29 #include "llvm/Object/MachO.h" 277 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) 278 return MachO->is64Bit(); 296 MachO::mach_header H; 297 MachO::mach_header_64 H_64; 298 uint32_t Filetype = MachO::MH_OBJECT; 305 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); 309 NType |= MachO::N_EXT; 311 NType |= MachO::N_PEXT; 313 NType |= MachO::N_EXT | MachO::N_UNDF [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
macho2yaml.cpp | 49 case MachO::LCName: \ 51 sizeof(MachO::LCStruct)); \ 53 MachO::swapStruct(LC.Data.LCStruct##_data); \ 54 EndPtr = processLoadCommandData<MachO::LCStruct>(LC, LoadCmd); \ 78 template <> MachOYAML::Section constructSection(MachO::section Sec) { 84 template <> MachOYAML::Section constructSection(MachO::section_64 Sec) { 102 MachO::swapStruct(Sec); 119 const char *MachODumper::processLoadCommandData<MachO::segment_command>( 122 return extractSections<MachO::section, MachO::segment_command> [all...] |
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCMachObjectWriter.cpp | 21 #include "llvm/Support/MachO.h" 48 report_fatal_error("Relocation emission for MachO/PPC64 unimplemented."); 91 unsigned Type = MachO::GENERIC_RELOC_VANILLA; 97 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 100 Type = MachO::PPC_RELOC_BR14; 107 Type = MachO::PPC_RELOC_HA16; 110 Type = MachO::PPC_RELOC_LO16; 113 Type = MachO::PPC_RELOC_HI16; 127 Type = MachO::PPC_RELOC_HA16_SECTDIFF; 130 Type = MachO::PPC_RELOC_LO16_SECTDIFF [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCMachObjectWriter.cpp | 13 #include "llvm/BinaryFormat/MachO.h" 48 report_fatal_error("Relocation emission for MachO/PPC64 unimplemented."); 91 unsigned Type = MachO::GENERIC_RELOC_VANILLA; 97 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 100 Type = MachO::PPC_RELOC_BR14; 107 Type = MachO::PPC_RELOC_HA16; 110 Type = MachO::PPC_RELOC_LO16; 113 Type = MachO::PPC_RELOC_HI16; 127 Type = MachO::PPC_RELOC_HA16_SECTDIFF; 130 Type = MachO::PPC_RELOC_LO16_SECTDIFF [all...] |
/external/llvm/lib/ObjectYAML/ |
MachOYAML.cpp | 1 //===- MachOYAML.cpp - MachO YAMLIO implementation ------------------------===// 10 // This file defines classes for handling the YAML representation of MachO. 17 #include "llvm/Support/MachO.h" 83 if (FileHdr.magic == MachO::MH_MAGIC_64 || 84 FileHdr.magic == MachO::MH_CIGAM_64) 187 void mapLoadCommandData<MachO::segment_command>( 193 void mapLoadCommandData<MachO::segment_command_64>( 199 void mapLoadCommandData<MachO::dylib_command>( 205 void mapLoadCommandData<MachO::rpath_command>( 211 void mapLoadCommandData<MachO::dylinker_command> [all...] |