Use Timeout<> in Process::RunThreadPlan
authorPavel Labath <labath@google.com>
Thu, 1 Dec 2016 10:57:30 +0000 (10:57 +0000)
committerPavel Labath <labath@google.com>
Thu, 1 Dec 2016 10:57:30 +0000 (10:57 +0000)
commit2ce221646903a31d41fc7cdd98f94a2c50eee23f
treeda084b552a2c746a9f6180b0821c25529f2ff56c
parent33af6fe71e685b3c88943d2ccaad4506a21d20ab
Use Timeout<> in Process::RunThreadPlan

Summary:
Since the function is way too big already, I tried at least to factor out the
timeout computation stuff into a separate function. I've tried to make the new
code semantically equivalent, and it also makes sense when I look at it as a done
deal.

Reviewers: jingham

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D27258

llvm-svn: 288326
lldb/source/Target/Process.cpp