summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-07-09 01:29:05 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-07-09 01:29:05 +0000
commit013434e547264f46db5a559b2fcdda5a791484ec (patch)
tree78dfc73d8343f5918821a0c97090f10650740f4d /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent52d760399c5fa4b5690fbd614ecc40460b8b6895 (diff)
downloadbcm5719-llvm-013434e547264f46db5a559b2fcdda5a791484ec.tar.gz
bcm5719-llvm-013434e547264f46db5a559b2fcdda5a791484ec.zip
__arm64__ and __aarch64__ #ifdef adjustments
Change by Paul Osmialowski See http://reviews.llvm.org/D4379 for details. llvm-svn: 212583
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index f9b2277fce0..69138159c31 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -181,7 +181,7 @@ namespace {
#define HIGH_PORT (49151u)
#endif
-#if defined(__APPLE__) && (defined(__arm__) || defined(__arm64__))
+#if defined(__APPLE__) && (defined(__arm__) || defined(__arm64__) || defined(__aarch64__))
static bool rand_initialized = false;
static inline uint16_t
@@ -2701,7 +2701,7 @@ ProcessGDBRemote::LaunchAndConnectToDebugserver (const ProcessInfo &process_info
debugserver_launch_info.SetMonitorProcessCallback (MonitorDebugserverProcess, this, false);
debugserver_launch_info.SetUserID(process_info.GetUserID());
-#if defined (__APPLE__) && (defined (__arm__) || defined (__arm64__))
+#if defined (__APPLE__) && (defined (__arm__) || defined (__arm64__) || defined (__aarch64__))
// On iOS, still do a local connection using a random port
const char *hostname = "127.0.0.1";
uint16_t port = get_random_port ();
OpenPOWER on IntegriCloud