/external/llvm/test/tools/llvm-objdump/X86/ |
D | macho-universal-x86_64.i386.test | 35 FAT: cpusubtype CPU_SUBTYPE_X86_64_ALL 42 FAT: cpusubtype CPU_SUBTYPE_I386_ALL 53 NON-VERBOSE: cpusubtype 3 60 NON-VERBOSE: cpusubtype 3
|
D | macho-private-headers.test | 26 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 122 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 446 FATi386: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 450 NON_VERBOSE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
|
/external/google-breakpad/src/common/mac/ |
D | arch_utilities.cc | 64 arm64->cpusubtype = CPU_SUBTYPE_ARM64_ALL; in ArchInfo_arm64() 74 armv7s->cpusubtype = CPU_SUBTYPE_ARM_V7S; in ArchInfo_armv7s()
|
D | macho_utilities.cc | 66 mh->cpusubtype = ByteSwap(mh->cpusubtype); in breakpad_swap_mach_header_64()
|
D | macho_walker.cc | 163 cpu_subtype != header.cpusubtype)) { in FindHeader() 192 arch.cpusubtype == cpu_subtype)) { in FindHeader()
|
D | macho_reader_unittest.cc | 309 EXPECT_EQ(0x52ccd852, object_files[0].cpusubtype); in TEST_F() 341 EXPECT_EQ(0x6a159a71, object_files[0].cpusubtype); in TEST_F() 348 EXPECT_EQ(0x6c55e90f, object_files[1].cpusubtype); in TEST_F() 355 EXPECT_EQ(0x10ecdc84, object_files[2].cpusubtype); in TEST_F() 378 EXPECT_EQ(0x1b779357, object_files[0].cpusubtype); in TEST_F() 400 EXPECT_EQ(0x4c6a57f7, object_files[0].cpusubtype); in TEST_F() 422 EXPECT_EQ(0x1b779357, object_files[0].cpusubtype); in TEST_F() 444 EXPECT_EQ(0x4c6a57f7, object_files[0].cpusubtype); in TEST_F()
|
D | dump_syms.mm | 205 arch_set = SetArchitecture(arch_info->cputype, arch_info->cpusubtype); 214 cpu_subtype_t cpu_subtype = selected_object_file_->cpusubtype; 474 if (!SetArchitecture(local_arch->cputype, local_arch->cpusubtype)) { 491 selected_object_file_->cputype, selected_object_file_->cpusubtype); 527 selected_object_file_->cpusubtype))
|
D | macho_reader.cc | 108 >> objfile->cpusubtype in Read() 136 >> object_files_[0].cpusubtype)) { in Read()
|
/external/lldb/source/Host/common/ |
D | Host.cpp | 305 uint32_t cputype, cpusubtype; in GetArchitecture() local 313 len = sizeof (cpusubtype); in GetArchitecture() 314 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) != 0) in GetArchitecture() 315 cpusubtype = CPU_TYPE_ANY; in GetArchitecture() 327 if (cpusubtype == CPU_SUBTYPE_486) in GetArchitecture() 328 cpusubtype = CPU_SUBTYPE_I386_ALL; in GetArchitecture() 333 … g_host_arch_32.SetArchitecture (eArchTypeMachO, ~(CPU_ARCH_MASK) & cputype, cpusubtype); in GetArchitecture() 334 g_host_arch_64.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture() 339 g_host_arch_32.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture() 341 g_host_arch_64.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture() [all …]
|
/external/llvm/include/llvm/Object/ |
D | MachOUniversal.h | 55 uint32_t getCPUSubType() const { return Header.cpusubtype; } in getCPUSubType() 60 Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype); in getArchTypeName()
|
/external/google-breakpad/src/tools/mac/dump_syms/ |
D | macho_dump.cc | 148 file.cputype, file.cpusubtype); in DumpFile() 165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) { in DumpFile()
|
D | dump_syms_tool.mm | 125 options.arch->cpusubtype)) { 139 arch->cputype, arch->cpusubtype); 144 arch->cputype, arch->cpusubtype);
|
/external/lldb/tools/debugserver/source/MacOSX/arm/ |
D | DNBArchImpl.cpp | 698 uint32_t cpusubtype; in NumSupportedHardwareBreakpoints() local 699 len = sizeof(cpusubtype); in NumSupportedHardwareBreakpoints() 701 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0) in NumSupportedHardwareBreakpoints() 703 DNBLogThreadedIf(LOG_THREAD, "hw.cpusubtype=%d", cpusubtype); in NumSupportedHardwareBreakpoints() 704 if (cpusubtype == CPU_SUBTYPE_ARM_V7) in NumSupportedHardwareBreakpoints() 754 uint32_t cpusubtype; in NumSupportedHardwareWatchpoints() local 756 len = sizeof(cpusubtype); in NumSupportedHardwareWatchpoints() 758 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0) in NumSupportedHardwareWatchpoints() 760 DNBLogThreadedIf(LOG_THREAD, "hw.cpusubtype=0x%d", cpusubtype); in NumSupportedHardwareWatchpoints() 762 if (cpusubtype == CPU_SUBTYPE_ARM_V7) in NumSupportedHardwareWatchpoints()
|
/external/google-breakpad/src/client/mac/handler/ |
D | breakpad_nlist_64.cc | 237 fat_archs[i].cpusubtype = in __breakpad_fdnlist() 238 CFSwapInt32BigToHost(fat_archs[i].cpusubtype); in __breakpad_fdnlist()
|
/external/lldb/source/Plugins/Process/mach-core/ |
D | ProcessMachCore.cpp | 154 header.cpusubtype = llvm::ByteSwap_32(header.cpusubtype); in GetDynamicLoaderAddress()
|
/external/compiler-rt/cmake/Modules/ |
D | CompilerRTDarwinUtils.cmake | 91 # This function checks the host cpusubtype to see if it is post-haswell. Haswell 92 # and later machines can run x86_64h binaries. Haswell is cpusubtype 8. 96 COMMAND sysctl hw.cpusubtype 99 string(REGEX MATCH "hw.cpusubtype: ([0-9]*)"
|
/external/valgrind/coregrind/ |
D | fixup_macho_loadcmds.c | 308 arch.cpusubtype = ntohl(arch_be->cpusubtype); in map_image_aboard()
|
/external/lldb/tools/debugserver/source/ |
D | RNBRemote.cpp | 3915 uint32_t cpusubtype; in HandlePacket_qHostInfo() local 3916 len = sizeof(cpusubtype); in HandlePacket_qHostInfo() 3917 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0) in HandlePacket_qHostInfo() 3921 cpusubtype == CPU_SUBTYPE_486) in HandlePacket_qHostInfo() 3922 cpusubtype = CPU_SUBTYPE_X86_64_ALL; in HandlePacket_qHostInfo() 3924 strm << "cpusubtype:" << std::dec << cpusubtype << ';'; in HandlePacket_qHostInfo() 4018 uint32_t cpusubtype; in HandlePacket_qProcessInfo() local 4019 size_t cpusubtype_len = sizeof(cpusubtype); in HandlePacket_qProcessInfo() 4020 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &cpusubtype_len, NULL, 0) == 0) in HandlePacket_qProcessInfo() 4022 if (cputype == CPU_TYPE_X86_64 && cpusubtype == CPU_SUBTYPE_486) in HandlePacket_qProcessInfo() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 1130 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags() 1133 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype); in checkMachOAndArchFlags() 1216 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { in printUnknownCPUType() argument 1218 outs() << " cpusubtype (" << cpusubtype << ")\n"; in printUnknownCPUType() 1223 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { in printCPUType() argument 1226 switch (cpusubtype) { in printCPUType() 1232 printUnknownCPUType(cputype, cpusubtype); in printCPUType() 1237 switch (cpusubtype) { in printCPUType() 1247 printUnknownCPUType(cputype, cpusubtype); in printCPUType() 1252 switch (cpusubtype) { in printCPUType() [all …]
|
/external/llvm/lib/Object/ |
D | MachOUniversal.cpp | 37 sys::swapByteOrder(H.cpusubtype); in SwapStruct()
|
/external/llvm/test/tools/llvm-objdump/AArch64/ |
D | macho-private-headers.test | 6 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 81 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
|
/external/llvm/include/llvm/Support/ |
D | MachO.h | 537 uint32_t cpusubtype; member 547 uint32_t cpusubtype; member 932 uint32_t cpusubtype; member 999 sys::swapByteOrder(mh.cpusubtype); in swapStruct() 1009 sys::swapByteOrder(H.cpusubtype); in swapStruct()
|
/external/llvm/test/tools/llvm-objdump/ARM/ |
D | macho-private-headers.test | 6 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 128 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
|
/external/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ |
D | ObjectContainerUniversalMachO.cpp | 201 … arch.SetArchitecture (eArchTypeMachO, m_fat_archs[idx].cputype, m_fat_archs[idx].cpusubtype); in GetArchitectureAtIndex()
|
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
D | DynamicLoaderMacOSXDYLD.h | 245 … return lldb_private::ArchSpec (lldb_private::eArchTypeMachO, header.cputype, header.cpusubtype); in GetArchitecture()
|