diff options
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.cpp')
-rw-r--r-- | lldb/tools/debugserver/source/DNB.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/DNB.cpp b/lldb/tools/debugserver/source/DNB.cpp index 32a73483379..5ac696774ba 100644 --- a/lldb/tools/debugserver/source/DNB.cpp +++ b/lldb/tools/debugserver/source/DNB.cpp @@ -1695,6 +1695,10 @@ bool DNBGetOSVersionNumbers(uint64_t *major, uint64_t *minor, uint64_t *patch) { return MachProcess::GetOSVersionNumbers(major, minor, patch); } +std::string DNBGetMacCatalystVersionString() { + return MachProcess::GetMacCatalystVersionString(); +} + void DNBInitialize() { DNBLogThreadedIf(LOG_PROCESS, "DNBInitialize ()"); #if defined(__i386__) || defined(__x86_64__) @@ -1715,6 +1719,8 @@ nub_bool_t DNBSetArchitecture(const char *arch) { else if ((strcasecmp(arch, "x86_64") == 0) || (strcasecmp(arch, "x86_64h") == 0)) return DNBArchProtocol::SetArchitecture(CPU_TYPE_X86_64); + else if (strstr(arch, "arm64_32") == arch) + return DNBArchProtocol::SetArchitecture(CPU_TYPE_ARM64_32); else if (strstr(arch, "arm64") == arch || strstr(arch, "armv8") == arch || strstr(arch, "aarch64") == arch) return DNBArchProtocol::SetArchitecture(CPU_TYPE_ARM64); |