Go to file
Ed Maste 4e0999bc22 Implement ProcessMonitor::Kill for Linux
On FreeBSD ptrace(PT_KILL) is used to terminate the traced process
(as if PT_CONTINUE had been used with SIGKILL as the signal to be
delivered), and is the desired behaviour for ProcessPOSIX::DoDestroy.

On Linux, after ptrace(PTRACE_KILL) the traced process still exists
and can be interrogated.  It is only upon resume that it exits as though
it received SIGKILL.

As the Linux PTRACE_KILL behaviour is not used by LLDB, rename
BringProcessIntoLimbo to Kill, and change the implementation to simply
call kill() instead of using ptrace.

Thanks to Todd F for testing (Ubuntu 12.04, gcc 4.8.2).

Sponsored by: DARPA, AFRL
Differential Revision: http://llvm-reviews.chandlerc.com/D3159

llvm-svn: 205337
2014-04-01 18:14:06 +00:00
clang Debug info: fix a crash when emitting IndirectFieldDecls, which were 2014-04-01 17:52:06 +00:00
clang-tools-extra clang-modernize: fix invalid assignment in findClangApplyReplacements() 2014-03-30 10:50:25 +00:00
compiler-rt InstrProfile: Use SANITIZER_COMMON_LIT_TEST_DEPS 2014-04-01 16:05:15 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Introduce M_LOG2E_F and M_LOG2E 2014-03-28 21:19:03 +00:00
libcxx Use defined(__APPLE__) rather than __APPLE__ 2014-03-30 14:59:12 +00:00
libcxxabi Simplify. 2014-03-20 01:28:28 +00:00
lld s/dyn_cast/cast/ where return value should never be null. 2014-04-01 18:04:56 +00:00
lldb Implement ProcessMonitor::Kill for Linux 2014-04-01 18:14:06 +00:00
llvm Make isSetCCEquivalent respect the TargetBooleanContents 2014-04-01 18:13:26 +00:00
openmp Revert commit (testing commit hook). 2014-03-04 18:06:04 +00:00
polly Delete trivial PHI nodes (aka stack slot sharing) 2014-04-01 16:01:33 +00:00