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/Interpreter/ScriptInterpreterPython.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/Interpreter/ScriptInterpreterPython.cpp')
| -rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 531b23ba805..dd5ee748938 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -31,7 +31,7 @@ #include "lldb/Core/ConnectionFileDescriptor.h" #include "lldb/Core/Debugger.h" #include "lldb/Core/Timer.h" -#include "lldb/Host/Host.h" +#include "lldb/Host/HostInfo.h" #include "lldb/Host/Pipe.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" @@ -2601,7 +2601,7 @@ ScriptInterpreterPython::InitializePrivate () FileSpec file_spec; char python_dir_path[PATH_MAX]; - if (Host::GetLLDBPath (ePathTypePythonDir, file_spec)) + if (HostInfo::GetLLDBPath(ePathTypePythonDir, file_spec)) { std::string python_path("sys.path.insert(0,\""); size_t orig_len = python_path.length(); @@ -2612,8 +2612,8 @@ ScriptInterpreterPython::InitializePrivate () PyRun_SimpleString (python_path.c_str()); python_path.resize (orig_len); } - - if (Host::GetLLDBPath (ePathTypeLLDBShlibDir, file_spec)) + + if (HostInfo::GetLLDBPath(ePathTypeLLDBShlibDir, file_spec)) { if (file_spec.GetPath(python_dir_path, sizeof (python_dir_path))) { |

