diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-09-27 01:11:17 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-09-27 01:11:17 +0000 |
commit | 9dd7334d69f3b6cec8d8fa8e3759763d0379adb4 (patch) | |
tree | a00e8a96d78c37661881b6511078c6ce7731288b /lldb/source | |
parent | 779c6f25731b7d07ccb1641cf3263436289f8ca2 (diff) | |
download | bcm5719-llvm-9dd7334d69f3b6cec8d8fa8e3759763d0379adb4.tar.gz bcm5719-llvm-9dd7334d69f3b6cec8d8fa8e3759763d0379adb4.zip |
thread state coordinator: added test for notify after two pending thread stops.
Glad I did - caught a bug where the auto variable was not a reference
to a set and instead was a copy. I need to review rules on that!
llvm-svn: 218558
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp b/lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp index 22f2f592951..8dfe03b1d6b 100644 --- a/lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp +++ b/lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp @@ -255,7 +255,7 @@ ThreadStateCoordinator::ThreadDidStop (lldb::tid_t tid) { EventCallAfterThreadsStop *call_after_event = static_cast<EventCallAfterThreadsStop*> (m_pending_notification_sp.get ()); - auto remaining_stop_tids = call_after_event->GetRemainingWaitTIDs (); + ThreadIDSet &remaining_stop_tids = call_after_event->GetRemainingWaitTIDs (); // Remove this tid if it was in it. remaining_stop_tids.erase (tid); |