Home
last modified time | relevance | path

Searched refs:cpu_type (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNBArch.cpp38 bool DNBArchProtocol::SetArchitecture(uint32_t cpu_type, uint32_t cpu_subtype) { in SetArchitecture() argument
39 g_current_cpu_type = cpu_type; in SetArchitecture()
45 cpu_type, cpu_subtype, result); in SetArchitecture()
50 if (arch_info.cpu_type) in RegisterArchPlugin()
51 g_arch_plugins[arch_info.cpu_type] = arch_info; in RegisterArchPlugin()
57 return arch_info->cpu_type; in GetRegisterCPUType()
H A DDNBArch.h34 uint32_t cpu_type; member
55 static bool SetArchitecture(uint32_t cpu_type, uint32_t cpu_subtype = 0);
/llvm-project-15.0.7/lldb/tools/darwin-debug/
H A Ddarwin-debug.cpp99 const char *working_dir, cpu_type_t cpu_type, in posix_spawn_for_debug() argument
134 if (cpu_type != 0) { in posix_spawn_for_debug()
137 ::posix_spawnattr_setbinpref_np(&attr, 1, &cpu_type, &ocount), in posix_spawn_for_debug()
174 cpu_type_t cpu_type = 0; in main() local
198 cpu_type = CPU_TYPE_I386; in main()
200 cpu_type = CPU_TYPE_X86_64; in main()
202 cpu_type = 0; // Don't set CPU type when we have x86_64h in main()
204 cpu_type = CPU_TYPE_ARM; in main()
329 working_dir.empty() ? NULL : working_dir.c_str(), cpu_type, disable_aslr); in main()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbFPOProgramToDWARFExpression.cpp29 llvm::codeview::CPUType cpu_type; in ResolveLLDBRegisterNum() local
32 cpu_type = llvm::codeview::CPUType::ARM64; in ResolveLLDBRegisterNum()
36 cpu_type = llvm::codeview::CPUType::X64; in ResolveLLDBRegisterNum()
41 llvm::codeview::getRegisterNames(cpu_type); in ResolveLLDBRegisterNum()
H A DPdbUtil.cpp596 CPUType cpu_type = index.compilands() in GetBaseFrameRegister() local
600 return is_parameter ? frame_proc.getParamFramePtrReg(cpu_type) in GetBaseFrameRegister()
601 : frame_proc.getLocalFramePtrReg(cpu_type); in GetBaseFrameRegister()
/llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/
H A DHost.mm1143 cpu_type_t cpu_type = arch_spec.GetMachOCPUType();
1146 cpu_type != 0 && cpu_type != static_cast<cpu_type_t>(UINT32_MAX) &&
1147 cpu_type != static_cast<cpu_type_t>(LLDB_INVALID_CPUTYPE);
1161 &attr, 1, &cpu_type, &cpu_subtype, &ocount),
1166 "cpu_type = {1:x}, cpu_subtype = {1:x}, count => {2} )",
1167 error, cpu_type, cpu_subtype, ocount);
1173 ::posix_spawnattr_setbinpref_np(&attr, 1, &cpu_type, &ocount),
1178 "cpu_type = {1:x}, count => {2} )",
1179 error, cpu_type, ocount);
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DArchSpec.h283 explicit ArchSpec(ArchitectureType arch_type, uint32_t cpu_type,
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp1251 const uint32_t cpu_type = proc_arch.GetMachOCPUType(); in CreateProcessInfoResponse_DebugServerStyle() local
1252 if (cpu_type != 0) in CreateProcessInfoResponse_DebugServerStyle()
1253 response.Printf("cputype:%" PRIx32 ";", cpu_type); in CreateProcessInfoResponse_DebugServerStyle()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.h101 const char *path, cpu_type_t cpu_type, cpu_subtype_t cpu_subtype,
H A DMachProcess.mm3285 const char *path, cpu_type_t cpu_type, cpu_subtype_t cpu_subtype,
3331 if (cpu_type != 0) {
3343 &attr, 1, &cpu_type, &cpu_subtype, &ocount));
3347 "::posix_spawnattr_setarchpref_np ( &attr, 1, cpu_type = "
3349 cpu_type, cpu_subtype, (uint64_t)ocount);
3357 ::posix_spawnattr_setbinpref_np(&attr, 1, &cpu_type, &ocount),
3361 "::posix_spawnattr_setbinpref_np ( &attr, 1, cpu_type = "
3363 cpu_type, (uint64_t)ocount);
3468 "MachProcess::%s ( ) pid=%i, cpu_type=0x%8.8x",
/llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.cpp772 const uint32_t cpu_type = packet.GetU32(&offset); in DumpPacket() local
775 cpu_mask, cpu_type, cpu_subtype); in DumpPacket()
/llvm-project-15.0.7/llvm/lib/Support/
H A DHost.cpp1257 if (hostInfo.cpu_type != CPU_TYPE_POWERPC) in getHostCPUName()