diff options
author | Jason Molenda <jmolenda@apple.com> | 2019-10-16 19:14:49 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2019-10-16 19:14:49 +0000 |
commit | 7dd7a3607596a51044b8706ebf6df2e613ce1e9b (patch) | |
tree | ceaacaa39ab7238f81442a520fc67f7c17b7294f /lldb/tools/debugserver | |
parent | 930ada91ce8ff9715e2ca7309bc946dbb9162dfb (diff) | |
download | bcm5719-llvm-7dd7a3607596a51044b8706ebf6df2e613ce1e9b.tar.gz bcm5719-llvm-7dd7a3607596a51044b8706ebf6df2e613ce1e9b.zip |
Add arm64_32 support to lldb, an ILP32 codegen
that runs on arm64 ISA targets, specifically
Apple watches.
Differential Revision: https://reviews.llvm.org/D68858
llvm-svn: 375032
Diffstat (limited to 'lldb/tools/debugserver')
-rw-r--r-- | lldb/tools/debugserver/source/DNB.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/DNB.cpp b/lldb/tools/debugserver/source/DNB.cpp index 5ac696774ba..c9f2e34e279 100644 --- a/lldb/tools/debugserver/source/DNB.cpp +++ b/lldb/tools/debugserver/source/DNB.cpp @@ -1719,7 +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) + else if (strstr(arch, "arm64_32") == arch || + strstr(arch, "aarch64_32") == arch) return DNBArchProtocol::SetArchitecture(CPU_TYPE_ARM64_32); else if (strstr(arch, "arm64") == arch || strstr(arch, "armv8") == arch || strstr(arch, "aarch64") == arch) |