Go to file
Ilia K 725abcb889 Bug 23051 - Fix zombie processes after lldb-server tests
Summary:
This patch fixes the following bug: https://llvm.org/bugs/show_bug.cgi?id=23181
For some reason some lldb-server tests should be kicked using SIGHUP and SIGINT before termination, otherwise it will leave a zombie process.
I think the reason is that the lldb-server will terminate a slave process if it gets the SIGHUP/SIGINT and if so it should be fixed in lldb-server.

The solution is to terminate process like it does the pexpect (including the delayafterterminate interval).

Also this patch reverts the following commits:
* r234549 - Skip lldb-server tests according to bug 23181
* r234765 - Skip a few tests on OS X according to the bug 23181
* r234803 - Skip the TestGdbRemoteRegisterState.test_grp_register_save_restore_works_no_suffix_debugserver_dsym test on OS X according to the bug 23181

Test Plan:
```
$ ps | grep Z | grep a.out | wc -l
447
$ ./dosep.py --options "-v --executable $INSTALLDIR/bin/lldb"
[...]
$ ps | grep Z | grep a.out | wc -l
447
```

Reviewers: jasonmolenda, clayborg, tberghammer

Reviewed By: clayborg

Subscribers: lldb-commits, dawn, tberghammer, clayborg, jasonmolenda

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

llvm-svn: 235008
2015-04-15 13:35:49 +00:00
clang clang-cl: support -fsyntax-only (PR23197) 2015-04-15 10:02:21 +00:00
clang-tools-extra Change range-based for-loop to be -Wrange-loop-analysis clean. 2015-04-15 01:21:57 +00:00
compiler-rt tsan: fix parsing of second_deadlock_stack flag 2015-04-14 10:32:33 +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 Implement atanh builtin 2015-04-07 16:20:22 +00:00
libcxx Qualify an internal call in is_assignable to prevent ADL lookup, which would 'complete' an type definition unnecessarily. Thanks to Richard Smith for the report. 2015-04-14 13:53:53 +00:00
libcxxabi [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
lld ELF/Arch64: Fix testcases requirements 2015-04-15 12:03:42 +00:00
lldb Bug 23051 - Fix zombie processes after lldb-server tests 2015-04-15 13:35:49 +00:00
llgo [llgo] add buildbot-slave config 2015-04-08 01:41:46 +00:00
llvm [MBP] Sink a comment into the if block to which it pertains. This makes 2015-04-15 13:26:41 +00:00
openmp The generation of the hierarchy used by hierarchical barrier improved in how the generation reacts to affinity set to none, or disabled, or no affinity available, or oversubscription. Some cleanup actions based on review comments to follow: need to use meaningful names instead of digital constants, e.g. use enumerators. 2015-04-13 18:51:59 +00:00
polly Allow loops in non-affine subregions -- SCoP Modeling 2015-04-12 22:58:40 +00:00