diff options
author | Zachary Turner <zturner@google.com> | 2014-08-20 16:42:51 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-08-20 16:42:51 +0000 |
commit | 13b1826104584b362e83d15bc72799b03f28ebd2 (patch) | |
tree | e09615a35919f90f56022dd1f717af060bfb2620 /lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp | |
parent | e1bb055ed393eac50ef19541d240d4cee46b06fa (diff) | |
download | bcm5719-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.cpp | 2 |
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), |