diff options
author | Zachary Turner <zturner@google.com> | 2014-08-21 17:29:12 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-08-21 17:29:12 +0000 |
commit | 42ff0ad8827c1173968b7d0f2ab72c873f5c201e (patch) | |
tree | 5b5cf8ddc60bdefd37edc51b0e51bebfb930d402 /lldb/source/Core/PluginManager.cpp | |
parent | 426282813220cb3328c9554fdef33983057daeb0 (diff) | |
download | bcm5719-llvm-42ff0ad8827c1173968b7d0f2ab72c873f5c201e.tar.gz bcm5719-llvm-42ff0ad8827c1173968b7d0f2ab72c873f5c201e.zip |
Move Host::GetLLDBPath to HostInfo.
This continues the effort to get Host code moved over to HostInfo,
and removes many more instances of preprocessor defines along the
way.
llvm-svn: 216195
Diffstat (limited to 'lldb/source/Core/PluginManager.cpp')
-rw-r--r-- | lldb/source/Core/PluginManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp index 5bbdbcdf615..619dbc709d5 100644 --- a/lldb/source/Core/PluginManager.cpp +++ b/lldb/source/Core/PluginManager.cpp @@ -20,6 +20,7 @@ #include "lldb/Core/Error.h" #include "lldb/Host/FileSpec.h" #include "lldb/Host/Host.h" +#include "lldb/Host/HostInfo.h" #include "lldb/Host/Mutex.h" #include "lldb/Interpreter/OptionValueProperties.h" @@ -185,7 +186,7 @@ PluginManager::Initialize () const bool find_files = true; const bool find_other = true; char dir_path[PATH_MAX]; - if (Host::GetLLDBPath (ePathTypeLLDBSystemPlugins, dir_spec)) + if (HostInfo::GetLLDBPath(ePathTypeLLDBSystemPlugins, dir_spec)) { if (dir_spec.Exists() && dir_spec.GetPath(dir_path, sizeof(dir_path))) { @@ -198,7 +199,7 @@ PluginManager::Initialize () } } - if (Host::GetLLDBPath (ePathTypeLLDBUserPlugins, dir_spec)) + if (HostInfo::GetLLDBPath(ePathTypeLLDBUserPlugins, dir_spec)) { if (dir_spec.Exists() && dir_spec.GetPath(dir_path, sizeof(dir_path))) { |