summaryrefslogtreecommitdiff
path: root/lldb/source/Host/linux/HostInfoLinux.cpp
AgeCommit message (Collapse)Author
2014-09-09Create a HostThread abstraction.Zachary Turner
This patch moves creates a thread abstraction that represents a thread running inside the LLDB process. This is a replacement for otherwise using lldb::thread_t, and provides a platform agnostic interface to managing these threads. Differential Revision: http://reviews.llvm.org/D5198 Reviewed by: Jim Ingham llvm-svn: 217460
2014-08-25Change back all paths returns for lldb::PathType enumerations from ↵Greg Clayton
HostInfo::GetLLDBPath() to return the directories in the FileSpec.m_directory field to match previous implementations. This change previously broke some path stuff in upstream branches. llvm-svn: 216398
2014-08-21Move the rest of the HostInfo functions over.Zachary Turner
This should bring HostInfo up to 99% completion. The remainder of code in Host will be split into instantiatable classes representing host processes, threads, dynamic libraries, and process launching strategies. llvm-svn: 216230
2014-08-21Fix compile error on Linux due to previous commit.Zachary Turner
llvm-svn: 216227
2014-08-21Convert static constructors to be explicitly initialized at startupZachary Turner
llvm-svn: 216197
2014-08-21Move Host::GetLLDBPath to HostInfo.Zachary Turner
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
2014-08-20Move Host::GetArchitecture to HostInfo::GetArchitecture.Zachary Turner
As a side effect, this patch also eliminates all of the preprocessor conditionals previously used to implement GetArchitecture(). llvm-svn: 216074
2014-08-19Move some Host logic into HostInfo class.Zachary Turner
This patch creates a HostInfo class, a static class used to answer basic queries about the host platform. As part of this change, some functionality is moved from Host to HostInfo, and relevant fixups are performed in the rest of the codebase. This is part of a larger effort to isolate more code in the Host layer into platform-specific groups, to make it easier to make platform specific changes for a particular Host without breaking other hosts. Reviewed by: Greg Clayton Differential Revision: http://reviews.llvm.org/D4963 llvm-svn: 215992