[NativeProcessLinux] fold ThreadStateCoordinator into NPL
authorPavel Labath <labath@google.com>
Wed, 6 May 2015 10:46:34 +0000 (10:46 +0000)
committerPavel Labath <labath@google.com>
Wed, 6 May 2015 10:46:34 +0000 (10:46 +0000)
commitc076559a5bf109d53210f87b34387c077b2fdb24
tree72390fcc4ad345bdee714d4dd93af7069b44624f
parentb25491faf479670f2a6a6a0d724937a697fb594d
[NativeProcessLinux] fold ThreadStateCoordinator into NPL

Summary:
Since all TSC operations are now executed synchronously, TSC has become a little more than a
messenger between different parts of NativeProcessLinux. Therefore, the reason for its existance
has disappeared.

This commit moves the contents of the TSC into the NPL class. This will enable us to remove all
the boilerplate code in NPL (as it stands now, this is most of the class), which I plan to do in
subsequent commits.

Unfortunately, this also means we will lose the unit tests for the TSC. However, since the size
of the TSC has diminished, the unit tests were not testing much at this point anyway, so it's not
a big loss.

No functional change.

Test Plan: All tests continue to pass.

Reviewers: vharron, chaoren

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D9296

llvm-svn: 236587
12 files changed:
lldb/lldb.xcodeproj/project.pbxproj
lldb/source/Plugins/Process/Linux/CMakeLists.txt
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp [deleted file]
lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.h [deleted file]
lldb/unittests/CMakeLists.txt
lldb/unittests/Plugins/CMakeLists.txt [deleted file]
lldb/unittests/Plugins/Process/CMakeLists.txt [deleted file]
lldb/unittests/Plugins/Process/Linux/CMakeLists.txt [deleted file]
lldb/unittests/Plugins/Process/Linux/Makefile [deleted file]
lldb/unittests/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp [deleted file]