diff options
author | Pavel Labath <labath@google.com> | 2015-05-06 12:22:37 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-05-06 12:22:37 +0000 |
commit | ed89c7fe44bd60a20e80b855804fa455cbeb7be5 (patch) | |
tree | 3699ffaece4173a4a90fe732c50b8f3b176d8acb /clang/unittests/Format | |
parent | 24a8f55857a2864d8d99f9b12ac4fbc3ac3fc9d2 (diff) | |
download | bcm5719-llvm-ed89c7fe44bd60a20e80b855804fa455cbeb7be5.tar.gz bcm5719-llvm-ed89c7fe44bd60a20e80b855804fa455cbeb7be5.zip |
[NativeProcessLinux] Remove the post-stop lambda
Summary:
The lambda was always calling SetState(eStateStopped) with small variations, so I have inlined
the code. Given that we don't have the TSC anymore, I believe we don't need to be so generic.
The only major change here is the way we choose a stop reason thread when we're interrupting a
program on client request. Previously, we were setting a null stop reason for all threads and
then fixing up the reason for one victim thread in the lambda. Now, I make sure the stop reason
is set for the victim thread correctly in the first place.
I also take the opportunity to rename CallAfter* functions into something more appropriate.
Test Plan: All tests continue to pass.
Reviewers: chaoren, vharron
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D9321
llvm-svn: 236595
Diffstat (limited to 'clang/unittests/Format')
0 files changed, 0 insertions, 0 deletions