#include "lldb/API/SBHostOS.h"
#include "lldb/API/SBError.h"
#include "lldb/Host/Config.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/HostNativeThread.h"
#include "lldb/Host/HostThread.h"
#include "lldb/Host/ThreadLauncher.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Instrumentation.h"
#include "Plugins/ExpressionParser/Clang/ClangHost.h"
#if LLDB_ENABLE_PYTHON
#include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h"
#endif
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Path.h"
usingnamespacelldb;
usingnamespacelldb_private;
SBFileSpec SBHostOS::GetProgramFileSpec() { … }
SBFileSpec SBHostOS::GetLLDBPythonPath() { … }
SBFileSpec SBHostOS::GetLLDBPath(lldb::PathType path_type) { … }
SBFileSpec SBHostOS::GetUserHomeDirectory() { … }
lldb::thread_t SBHostOS::ThreadCreate(const char *name,
lldb::thread_func_t thread_function,
void *thread_arg, SBError *error_ptr) { … }
void SBHostOS::ThreadCreated(const char *name) { … }
bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { … }
bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { … }
bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result,
SBError *error_ptr) { … }