summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.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/Platform/MacOSX/PlatformMacOSX.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/Platform/MacOSX/PlatformMacOSX.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
index 6fb0079b23b..8f7e7520f5e 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
@@ -44,7 +44,7 @@ PlatformMacOSX::Initialize ()
{
#if defined (__APPLE__)
PlatformSP default_platform_sp (new PlatformMacOSX(true));
- default_platform_sp->SetSystemArchitecture (Host::GetArchitecture());
+ default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture());
Platform::SetDefaultPlatform (default_platform_sp);
#endif
PluginManager::RegisterPlugin (PlatformMacOSX::GetPluginNameStatic(false),
OpenPOWER on IntegriCloud