1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-10 14:02:43 +00:00
freebsd/contrib/llvm
Ed Maste 52c52d38d5 lldb: Invoke PT_KILL from ProcessPosix::DoDestroy
We previously sent SIGKILL to the debuggee in DoDestroy, but did not
actually detach or kill via ptrace.  It seems that this somehow didn't
matter on Linux, but did on FreeBSD.

This would happen when quitting LLDB while stopped at a breakpoint, for
example.  The debuggee remained stopped in ptrace (with the signal
either pending or lost).  After a timeout of a second or two LLDB exits,
which caused the debuggee to resume and dump core from an unhandled
SIGTRAP.

BringProcessIntoLimbo is a poorly named wrapper for ptrace(PT_KILL)
which is the desired behaviour from DoDestroy.

http://llvm.org/pr18894

Sponsored by:	DARPA, AFRL
2014-03-24 01:21:37 +00:00
..
include Pull in r196939 from upstream llvm trunk (by Reid Kleckner): 2014-03-18 19:23:41 +00:00
lib Pull in r203311 from upstream llvm trunk (by Arnold Schwaighofer): 2014-03-18 19:35:26 +00:00
patches Add the llvm/clang patch for r263619. 2014-03-23 14:06:09 +00:00
tools lldb: Invoke PT_KILL from ProcessPosix::DoDestroy 2014-03-24 01:21:37 +00:00
utils/TableGen Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00
LICENSE.TXT Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00