OSDN Git Service

[lldb] Kill the inferior instead of detaching during test suite runs
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 10 Dec 2020 02:39:29 +0000 (18:39 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 10 Dec 2020 02:40:06 +0000 (18:40 -0800)
commitd6f5e08199f6454b488814b618aaf17b4a49c8bf
treef053f0a6590e62a5e1cf232c4dfd49cccf68d670
parentfc3942526f5c048759e90d10289ecef75410f728
[lldb] Kill the inferior instead of detaching during test suite runs

Kill (rather than detach) form the inferior if debugserver loses its
connection to lldb to prevent zombie processes.

Differential revision: https://reviews.llvm.org/D92908
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/test/API/types/AbstractBase.py
lldb/test/Shell/lit-lldb-init.in
lldb/tools/lldb-test/lldb-test.cpp