Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 25 of 264) sorted by relevance

1234567891011

/llvm-project-15.0.7/lldb/test/API/macosx/lc-note/firmware-corefile/
H A Dcreate-empty-corefile.cpp60 if (cputype == CPU_TYPE_X86_64) { in lc_thread_load_command()
72 if (cputype == CPU_TYPE_ARM64) { in lc_thread_load_command()
223 if (mh.cputype != CPU_TYPE_X86_64 && mh.cputype != CPU_TYPE_ARM64) { in get_uuid_from_binary()
227 fn, (uint32_t)mh.cputype); in get_uuid_from_binary()
233 cputype = mh.cputype; in get_uuid_from_binary()
241 if (mh.cputype != CPU_TYPE_X86_64 && mh.cputype != CPU_TYPE_ARM64) { in get_uuid_from_binary()
245 fn, (uint32_t)mh.cputype); in get_uuid_from_binary()
251 cputype = mh.cputype; in get_uuid_from_binary()
306 cpu_type_t cputype; in main() local
332 load_commands.push_back(lc_thread_load_command(cputype)); in main()
[all …]
/llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/
H A Dfat_macho_i386_x86_64.yaml13 - cputype: 0x00000007
18 - cputype: 0x01000007
26 cputype: 0x00000007
34 cputype: 0x01000007
49 #CHECK: - cputype: 0x7
54 #CHECK: - cputype: 0x1000007
63 #CHECK: cputype: 0x7
72 #CHECK: cputype: 0x1000007
94 - cputype: 0x00000007
102 cputype: 0x00000007
[all …]
H A Dmach_header.yaml6 cputype: 0x00000007
17 # CHECK: cputype: 0x7
H A Dmach_header_64.yaml6 cputype: 0x01000007
18 # CHECK: cputype: 0x1000007
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/
H A Duniversal-arm64.test16 # CHECK-NEXT: cputype CPU_TYPE_ARM64
23 # CHECK-NEXT: cputype CPU_TYPE_ARM64
30 # CHECK-NEXT: cputype CPU_TYPE_ARM64
42 # NONVERBOSE-NEXT: cputype 16777228
49 # NONVERBOSE-NEXT: cputype 16777228
70 - cputype: 0x0100000C
75 - cputype: 0x0100000C
80 - cputype: 0x0100000C
89 cputype: 0x0100000C
99 cputype: 0x0100000C
[all …]
H A Duniversal-x86_64.i386.test38 FAT: cputype CPU_TYPE_X86_64
45 FAT: cputype CPU_TYPE_I386
56 NON-VERBOSE: cputype 16777223
63 NON-VERBOSE: cputype 7
/llvm-project-15.0.7/llvm/test/tools/llvm-lipo/
H A Darchs-universal-binary-arm.test10 - cputype: 0x0000000C
15 - cputype: 0x0100000C
24 cputype: 0x0000000C
33 cputype: 0x0100000C
H A Darchs-universal-binary-x86.test10 - cputype: 0x00000007
15 - cputype: 0x01000007
24 cputype: 0x00000007
33 cputype: 0x01000007
H A Darchs-universal-binary-unknown.test11 - cputype: 0x00000007
16 - cputype: 0x01000097
25 cputype: 0x00000007
34 cputype: 0x01000097
H A Dverify-arch-universal-binary.test17 - cputype: 0x00000007
22 - cputype: 0x01000007
31 cputype: 0x00000007
40 cputype: 0x01000007
H A Dthin-executable-universal-binary.test20 - cputype: 0x00000007
25 - cputype: 0x01000007
34 cputype: 0x00000007
43 cputype: 0x01000007
H A Dthin-universal-binary.test19 - cputype: 0x00000007
24 - cputype: 0x01000007
33 cputype: 0x00000007
42 cputype: 0x01000007
H A Dcreate-compute-alignment.test11 # CHECK: cputype (10)
15 # CHECK: cputype (14)
/llvm-project-15.0.7/lldb/test/API/commands/target/basic/
H A Dbogus.yaml6 - cputype: 0x0000000C
11 - cputype: 0x0000000C
16 - cputype: 0x0100000C
26 cputype: 0x00000003
76 cputype: 0x00000002
125 cputype: 0x00000001
/llvm-project-15.0.7/llvm/test/tools/llvm-lipo/Inputs/
H A Di386-x86_64-armv7-arm64-universal.yaml6 - cputype: 0x00000007
11 - cputype: 0x01000007
16 - cputype: 0x0000000C
21 - cputype: 0x0100000C
30 cputype: 0x00000007
117 cputype: 0x01000007
205 cputype: 0x0000000C
280 cputype: 0x0100000C
H A Di386-x86_64-universal.yaml6 - cputype: 0x00000007
11 - cputype: 0x01000007
20 cputype: 0x00000007
107 cputype: 0x01000007
H A Darmv7_i386_non_default_alignment.yaml6 - cputype: 0x0000000C
11 - cputype: 0x00000007
20 cputype: 0x0000000C
107 cputype: 0x00000007
/llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/
H A DHostInfoMacOSX.mm222 uint32_t cputype, cpusubtype;
224 size_t len = sizeof(cputype);
228 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) {
236 if (cputype == CPU_TYPE_ARM64 && cpusubtype == CPU_SUBTYPE_ARM64E) {
243 if (cputype & CPU_ARCH_ABI64) {
245 arch_64.SetArchitecture(eArchTypeMachO, cputype, cpusubtype);
259 if (cputype == CPU_TYPE_ARM || cputype == CPU_TYPE_ARM64)
265 if (cputype == CPU_TYPE_ARM ||
266 cputype == CPU_TYPE_ARM64 ||
267 cputype == CPU_TYPE_ARM64_32) {
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/AArch64/
H A Darm64_32-fat.test3 CHECK: cputype CPU_TYPE_ARM64_32
6 CHECK: cputype CPU_TYPE_ARM64
/llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/
H A DThreadMachCore.cpp116 const uint32_t cputype = arch_spec.GetMachOCPUType(); in CalculateStopInfo() local
118 if (cputype == llvm::MachO::CPU_TYPE_ARM64 || in CalculateStopInfo()
119 cputype == llvm::MachO::CPU_TYPE_ARM64_32) { in CalculateStopInfo()
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOUniversalWriter.cpp70 switch (ObjectFile.getHeader().cputype) { in calculateAlignment()
91 : B(&O), CPUType(O.getHeader().cputype), in Slice()
145 std::tie(MFO->getHeader().cputype, MFO->getHeader().cpusubtype) != in create()
146 std::tie(O->getHeader().cputype, O->getHeader().cpusubtype)) { in create()
150 Twine(O->getHeader().cputype) + ") and cpusubtype(" + in create()
153 Twine(MFO->getHeader().cputype) + ") and cpusubtype(" + in create()
262 FatArch.cputype = S.getCPUType(); in buildFatArchList()
H A DMachOUniversal.cpp71 uint32_t cputype; in getAsObjectFile() local
74 cputype = Header.cputype; in getAsObjectFile()
77 cputype = Header64.cputype; in getAsObjectFile()
81 return ObjectFile::createMachOObjectFile(ObjBuffer, cputype, Index); in getAsObjectFile()
/llvm-project-15.0.7/lld/test/MachO/invalid/
H A Dinvalid-fat-offset.s12 - cputype: 0x01000007
17 - cputype: 0x00000007
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/MachO/
H A Dfile-headers.test25 cputype: 0x00000007
57 cputype: 0x01000007
90 cputype: 0x00000012
123 cputype: 0x01000012
155 cputype: 0x0000000C
/llvm-project-15.0.7/lldb/test/API/macosx/lc-note/kern-ver-str/
H A Dcreate-empty-corefile.cpp178 if (mh.cputype != CPU_TYPE_X86_64) in get_uuid_from_binary()
182 fn, (uint32_t) mh.cputype); in get_uuid_from_binary()
197 if (mh.cputype != CPU_TYPE_X86_64) in get_uuid_from_binary()
201 fn, (uint32_t) mh.cputype); in get_uuid_from_binary()
288 mh.cputype = CPU_TYPE_X86_64; in main()

1234567891011