summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/replace-funcs-with-null.ll
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-10-27 09:23:55 +0000
committerPavel Labath <labath@google.com>2015-10-27 09:23:55 +0000
commit9e131f7fefc6f62ed2d0e8b7c5615c7bb9c69131 (patch)
treeb7b89bdca1619363e2667874398a38d067ea7b74 /llvm/test/BugPoint/replace-funcs-with-null.ll
parent891c0973df532c726d2eb7a5a02cde6b8320adbd (diff)
downloadbcm5719-llvm-9e131f7fefc6f62ed2d0e8b7c5615c7bb9c69131.tar.gz
bcm5719-llvm-9e131f7fefc6f62ed2d0e8b7c5615c7bb9c69131.zip
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
Diffstat (limited to 'llvm/test/BugPoint/replace-funcs-with-null.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud