summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-05-06 12:22:37 +0000
committerPavel Labath <labath@google.com>2015-05-06 12:22:37 +0000
commited89c7fe44bd60a20e80b855804fa455cbeb7be5 (patch)
tree3699ffaece4173a4a90fe732c50b8f3b176d8acb /clang/unittests/Format/FormatTest.cpp
parent24a8f55857a2864d8d99f9b12ac4fbc3ac3fc9d2 (diff)
downloadbcm5719-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/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud