/freebsd-10.2-release/contrib/llvm/lib/Object/ |
H A D | MachOUniversal.cpp | 16 #include "llvm/Object/MachO.h" 34 void SwapStruct(MachO::fat_header &H) { 40 void SwapStruct(MachO::fat_arch &H) { 66 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + 67 Index * sizeof(MachO::fat_arch); 68 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); 99 if (Source->getBufferSize() < sizeof(MachO::fat_header)) { 105 MachO::fat_header H= getUniversalBinaryStruct<MachO::fat_header>(Buf.begin()); 107 uint32_t MinSize = sizeof(MachO [all...] |
H A D | MachOObjectFile.cpp | 15 #include "llvm/Object/MachO.h" 53 void SwapStruct(MachO::any_relocation_info &H) { 59 void SwapStruct(MachO::load_command &L) { 71 void SwapStruct(MachO::section &S) { 84 void SwapStruct(MachO::section_64 &S) { 98 void SwapStruct(MachO::nlist &S) { 105 void SwapStruct(MachO::nlist_64 &S) { 112 void SwapStruct(MachO::mach_header &H) { 123 void SwapStruct(MachO::mach_header_64 &H) { 135 void SwapStruct(MachO [all...] |
/freebsd-10.2-release/contrib/llvm/include/llvm/Object/ |
H A D | MachO.h | 1 //===- MachO.h - MachO object file implementation ---------------*- C++ -*-===// 11 // interface for MachO files. 22 #include "llvm/Support/MachO.h" 56 MachO::load_command C; // The command itself. 137 // In a MachO file, sections have a segment name. This is used in the .o 147 // MachO specific Info about relocations. 148 bool isRelocationScattered(const MachO::any_relocation_info &RE) const; 150 const MachO::any_relocation_info &RE) const; 151 bool getPlainRelocationExternal(const MachO [all...] |
H A D | MachOUniversal.h | 21 #include "llvm/Support/MachO.h" 38 MachO::fat_arch Header;
|
/freebsd-10.2-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldMachO.cpp | 208 case MachO::GENERIC_RELOC_VANILLA: { 217 case MachO::GENERIC_RELOC_SECTDIFF: 218 case MachO::GENERIC_RELOC_LOCAL_SECTDIFF: 219 case MachO::GENERIC_RELOC_PB_LA_PTR: 241 case MachO::X86_64_RELOC_SIGNED_1: 242 case MachO::X86_64_RELOC_SIGNED_2: 243 case MachO::X86_64_RELOC_SIGNED_4: 244 case MachO::X86_64_RELOC_SIGNED: 245 case MachO::X86_64_RELOC_UNSIGNED: 246 case MachO 331 const MachOObjectFile *MachO = static_cast<const MachOObjectFile*>(OF); local [all...] |
/freebsd-10.2-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMachObjectWriter.cpp | 21 #include "llvm/Support/MachO.h" 49 report_fatal_error("Relocation emission for MachO/PPC64 unimplemented."); 92 unsigned Type = MachO::GENERIC_RELOC_VANILLA; 98 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 101 Type = MachO::PPC_RELOC_BR14; 108 Type = MachO::PPC_RELOC_HA16; 111 Type = MachO::PPC_RELOC_LO16; 114 Type = MachO::PPC_RELOC_HI16; 128 Type = MachO::PPC_RELOC_HA16_SECTDIFF; 131 Type = MachO [all...] |
H A D | PPCAsmBackend.cpp | 21 #include "llvm/Support/MachO.h" 170 (is64 ? MachO::CPU_TYPE_POWERPC64 : MachO::CPU_TYPE_POWERPC), 171 MachO::CPU_SUBTYPE_POWERPC_ALL);
|
/freebsd-10.2-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMachObjectWriter.cpp | 24 #include "llvm/Support/MachO.h" 65 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); 94 RelocType = unsigned(MachO::ARM_RELOC_BR24); 101 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); 108 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); 123 RelocType = unsigned(MachO::ARM_RELOC_HALF); 128 RelocType = unsigned(MachO::ARM_RELOC_HALF); 134 RelocType = unsigned(MachO::ARM_RELOC_HALF); 139 RelocType = unsigned(MachO::ARM_RELOC_HALF); 155 unsigned Type = MachO [all...] |
H A D | ARMAsmBackend.cpp | 30 #include "llvm/Support/MachO.h" 643 const MachO::CPUSubTypeARM Subtype; 645 MachO::CPUSubTypeARM st) 652 MachO::CPU_TYPE_ARM, 669 MachO::CPUSubTypeARM CS = 670 StringSwitch<MachO::CPUSubTypeARM>(TheTriple.getArchName()) 671 .Cases("armv4t", "thumbv4t", MachO::CPU_SUBTYPE_ARM_V4T) 672 .Cases("armv5e", "thumbv5e", MachO::CPU_SUBTYPE_ARM_V5TEJ) 673 .Cases("armv6", "thumbv6", MachO::CPU_SUBTYPE_ARM_V6) 674 .Cases("armv6m", "thumbv6m", MachO [all...] |
/freebsd-10.2-release/contrib/llvm/tools/macho-dump/ |
H A D | macho-dump.cpp | 14 #include "llvm/Object/MachO.h" 102 MachO::any_relocation_info RE = Obj.getRelocation(I->getRawDataRefImpl()); 127 MachO::segment_command SLC = Obj.getSegmentLoadCommand(LCI); 136 MachO::section Sect = Obj.getSection(LCI, i); 150 MachO::segment_command_64 SLC = Obj.getSegment64LoadCommand(LCI); 158 MachO::section_64 Sect = Obj.getSection64(LCI, i); 189 MachO::symtab_command SLC = Obj.getSymtabLoadCommand(); 210 MachO::nlist_64 STE = Obj.getSymbol64TableEntry(DRI); 215 MachO::nlist STE = Obj.getSymbolTableEntry(DRI); 227 MachO [all...] |
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | ArchSpec.cpp | 20 #include "llvm/Support/MachO.h" 166 { ArchSpec::eCore_arm_generic , llvm::MachO::CPU_TYPE_ARM , CPU_ANY, UINT32_MAX , UINT32_MAX }, 167 { ArchSpec::eCore_arm_generic , llvm::MachO::CPU_TYPE_ARM , 0 , UINT32_MAX , SUBTYPE_MASK }, 168 { ArchSpec::eCore_arm_armv4 , llvm::MachO::CPU_TYPE_ARM , 5 , UINT32_MAX , SUBTYPE_MASK }, 169 { ArchSpec::eCore_arm_armv4t , llvm::MachO::CPU_TYPE_ARM , 5 , UINT32_MAX , SUBTYPE_MASK }, 170 { ArchSpec::eCore_arm_armv6 , llvm::MachO::CPU_TYPE_ARM , 6 , UINT32_MAX , SUBTYPE_MASK }, 171 { ArchSpec::eCore_arm_armv6m , llvm::MachO::CPU_TYPE_ARM , 14 , UINT32_MAX , SUBTYPE_MASK }, 172 { ArchSpec::eCore_arm_armv5 , llvm::MachO::CPU_TYPE_ARM , 7 , UINT32_MAX , SUBTYPE_MASK }, 173 { ArchSpec::eCore_arm_armv5e , llvm::MachO::CPU_TYPE_ARM , 7 , UINT32_MAX , SUBTYPE_MASK }, 174 { ArchSpec::eCore_arm_armv5t , llvm::MachO [all...] |
/freebsd-10.2-release/contrib/llvm/lib/MC/ |
H A D | MachObjectWriter.cpp | 25 #include "llvm/Support/MachO.h" 130 Flags |= MachO::MH_SUBSECTIONS_VIA_SYMBOLS; 138 Write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); 143 Write32(MachO::MH_OBJECT); 151 (is64Bit()?sizeof(MachO::mach_header_64): sizeof(MachO::mach_header))); 169 is64Bit() ? sizeof(MachO::segment_command_64): 170 sizeof(MachO::segment_command); 171 Write32(is64Bit() ? MachO [all...] |
H A D | MCObjectSymbolizer.cpp | 17 #include "llvm/Object/MachO.h" 63 MachO::section_64 S = MOOF->getSection64(StubsSec.getRawDataRefImpl()); 67 MachO::section S = MOOF->getSection(StubsSec.getRawDataRefImpl());
|
/freebsd-10.2-release/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MachObjectWriter.cpp | 21 #include "llvm/Support/MachO.h" 134 Type = MachO::X86_64_RELOC_UNSIGNED; 143 Type = MachO::X86_64_RELOC_BRANCH; 201 Type = MachO::X86_64_RELOC_UNSIGNED; 203 MachO::any_relocation_info MRE; 220 Type = MachO::X86_64_RELOC_SUBTRACTOR; 280 Type = MachO::X86_64_RELOC_GOT_LOAD; 282 Type = MachO::X86_64_RELOC_GOT; 284 Type = MachO::X86_64_RELOC_TLV; 289 Type = MachO [all...] |
H A D | X86AsmBackend.cpp | 26 #include "llvm/Support/MachO.h" 730 MachO::CPU_TYPE_I386, 731 MachO::CPU_SUBTYPE_I386_ALL); 743 const MachO::CPUSubTypeX86 Subtype; 747 MachO::CPUSubTypeX86 st) 755 MachO::CPU_TYPE_X86_64, Subtype); 806 if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) 824 if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) { 825 MachO::CPUSubTypeX86 CS = 826 StringSwitch<MachO [all...] |
H A D | X86MachORelocationInfo.cpp | 16 #include "llvm/Object/MachO.h" 20 using namespace MachO;
|
H A D | X86MCTargetDesc.cpp | 271 if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) { 365 if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO)
|
/freebsd-10.2-release/contrib/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 10 // This file implements the MachO-specific dumper for llvm-objdump. 29 #include "llvm/Object/MachO.h" 35 #include "llvm/Support/MachO.h" 107 case MachO::DICE_KIND_DATA: 128 case MachO::DICE_KIND_JUMP_TABLE8: 132 case MachO::DICE_KIND_JUMP_TABLE16: 137 case MachO::DICE_KIND_JUMP_TABLE32: 151 getSectionsAndSymbols(const MachO::mach_header Header, 174 if (Command.C.cmd == MachO::LC_FUNCTION_STARTS) { 177 MachO [all...] |
H A D | llvm-objdump.cpp | 43 #include "llvm/Object/MachO.h" 89 MachOOpt("macho", cl::desc("Use MachO specific object file parser")); 169 TheTriple.setEnvironment(Triple::MachO); 433 if (const MachOObjectFile *MachO = 436 SegmentName = MachO->getSectionFinalSegmentName(DR); 741 if (const MachOObjectFile *MachO = 744 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR);
|
/freebsd-10.2-release/contrib/llvm/include/llvm/MC/ |
H A D | MCMachObjectWriter.h | 19 #include "llvm/Support/MachO.h" 101 std::vector<MachO::any_relocation_info> > Relocations; 158 uint32_t CPUType = TargetObjectWriter->getCPUType() & ~MachO::CPU_ARCH_MASK; 159 return CPUType == MachO::CPU_TYPE_ARM; 215 MachO::any_relocation_info &MRE) {
|
/freebsd-10.2-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCMCInstLower.cpp | 89 MachineModuleInfoMachO &MachO = getMachOMMI(AP); local 93 MachO.getHiddenGVStubEntry(Sym) : MachO.getGVStubEntry(Sym);
|
/freebsd-10.2-release/contrib/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 10 // This file implements the MachO-specific dumper for llvm-readobj. 20 #include "llvm/Object/MachO.h" 169 MachO::section Sect = Obj->getSection(Sec); 181 MachO::section_64 Sect = Obj->getSection64(Sec); 198 MachO::nlist Entry = Obj->getSymbolTableEntry(DRI); 206 MachO::nlist_64 Entry = Obj->getSymbol64TableEntry(DRI); 352 MachO::any_relocation_info RE = Obj->getRelocation(DR);
|
/freebsd-10.2-release/contrib/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 25 #include "llvm/Object/MachO.h" 458 MachO::nlist_64 STE = Obj.getSymbol64TableEntry(Symb); 461 MachO::nlist STE = Obj.getSymbolTableEntry(Symb); 471 switch (NType & MachO::N_TYPE) { 472 case MachO::N_UNDF: 475 case MachO::N_ABS: 478 case MachO::N_SECT: { 495 if (NType & (MachO::N_EXT | MachO::N_PEXT)) 507 if (MachOObjectFile *MachO [all...] |
/freebsd-10.2-release/contrib/llvm/include/llvm/ADT/ |
H A D | Triple.h | 124 MachO, enumerator in enum:llvm::Triple::EnvironmentType 352 /// \brief Tests whether the environment is MachO. 355 return getEnvironment() == Triple::MachO || isOSDarwin();
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Driver/ |
H A D | WindowsToolChain.cpp | 46 if (getTriple().getEnvironment() == llvm::Triple::MachO)
|