Go to file
Pavel Labath 9e131f7fef Fix race condition in process resume
Summary:
Gdb-remote's async thread sent out the eBroadcastBitRunPacketSent message *before* actually
sending out the continue packet. Since it's this message the actually triggers the public state
transition, it could happen (and it did happen in TestAttachResume, which does an "process
interrupt" right after a continue) that we attempt to stop the inferior before it was actually
started (which obviously did not end well). This fixes the problem by moving the broadcast after
the packet was actually sent.

Reviewers: clayborg

Subscribers: lldb-commits

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

llvm-svn: 251399
2015-10-27 09:23:55 +00:00
clang Properly clear current coroutine promise on FunctionScopeInfo reuse. Should 2015-10-27 07:47:45 +00:00
clang-tools-extra [clang-tidy] Add new check cppcoreguidelines-pro-bounds-array-to-pointer-decay 2015-10-26 21:56:02 +00:00
compiler-rt Attempt to fix asan's ptrace.cc on the clang-cmake-mips builder after r251331. 2015-10-27 01:35:57 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Fix test suite configuration. Sorry Marshall 2015-10-26 19:08:53 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Add FreeBSD _Unwind_Ptr typedef 2015-10-16 19:40:09 +00:00
lld ELF2: Ignore -( and -). 2015-10-26 19:05:44 +00:00
lldb Fix race condition in process resume 2015-10-27 09:23:55 +00:00
llgo [llgo] irgen: always use TargetMachine's data layout 2015-09-25 06:28:14 +00:00
llvm Do not use "else" when both branches return (NFC) 2015-10-27 08:12:08 +00:00
openmp Removed zeroing th.th_task_state for master thread at start of nested parallel. 2015-10-20 19:21:04 +00:00
polly RegionGenerator: Clear local maps after statement construction 2015-10-26 20:41:53 +00:00