From 42ff0ad8827c1173968b7d0f2ab72c873f5c201e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 21 Aug 2014 17:29:12 +0000 Subject: 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 --- lldb/source/Interpreter/ScriptInterpreterPython.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp') 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))) { -- cgit v1.2.3