/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/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...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // 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...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // 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...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // 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...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // MachO specific Info about relocations [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // MachO specific Info about relocations [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // MachO specific Info about relocations [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // MachO specific Info about relocations [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/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" 241 MachO::load_command C; // The command itself. 255 // MachO specific. 296 // MachO specific. 308 // MachO specific. 413 // In a MachO file, sections have a segment name. This is used in the .o 423 // MachO specific Info about relocations [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/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/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/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/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/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...] |