Set error status when failed to catch stop after launch
authorTamas Berghammer <tberghammer@google.com>
Mon, 23 Feb 2015 10:59:54 +0000 (10:59 +0000)
committerTamas Berghammer <tberghammer@google.com>
Mon, 23 Feb 2015 10:59:54 +0000 (10:59 +0000)
commit04e6314cf4dab5d603776ef6bfbbfae1fa7fdaf4
tree472ab7669f976ca1301808928d2ea137db8aacda
parentdbb41cf41899db8c2900800f5cb1b8eff9fbcc29
Set error status when failed to catch stop after launch

Process::Launch try to catch a stop signal after launching a process. If
it is unsuccessful it destroy the process but previously still reported
that the process launched successfully. This behavior caused a
deadlock. With thic change the process launch error reported correctly.

Differential revision: http://reviews.llvm.org/D7784

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