summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-08-20 16:42:51 +0000
committerZachary Turner <zturner@google.com>2014-08-20 16:42:51 +0000
commit13b1826104584b362e83d15bc72799b03f28ebd2 (patch)
treee09615a35919f90f56022dd1f717af060bfb2620 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parente1bb055ed393eac50ef19541d240d4cee46b06fa (diff)
downloadbcm5719-llvm-13b1826104584b362e83d15bc72799b03f28ebd2.tar.gz
bcm5719-llvm-13b1826104584b362e83d15bc72799b03f28ebd2.zip
Move Host::GetArchitecture to HostInfo::GetArchitecture.
As a side effect, this patch also eliminates all of the preprocessor conditionals previously used to implement GetArchitecture(). llvm-svn: 216074
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index 96538202625..dc99a990c5f 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -1188,7 +1188,7 @@ GDBRemoteCommunicationServer::Handle_qHostInfo (StringExtractorGDBRemote &packet
// $cputype:16777223;cpusubtype:3;ostype:Darwin;vendor:apple;endian:little;ptrsize:8;#00
- ArchSpec host_arch (Host::GetArchitecture ());
+ ArchSpec host_arch(HostInfo::GetArchitecture());
const llvm::Triple &host_triple = host_arch.GetTriple();
response.PutCString("triple:");
response.PutCString(host_triple.getTriple().c_str());
OpenPOWER on IntegriCloud