llvm-project/lldb
David Tenty b9179ff857 [AIX][lit] Don't depend on psutil on AIX
Summary:
On AIX psutil can run into problems with permissions to read the process
tree, which causes problems for python timeout tests which need to kill off
a test and it's children.

This patch adds a workaround by invoking shell via subprocess and using a
platform specific option to ps to list all the descendant processes so we can
kill them. We add some checks so lit can tell whether timeout tests are
supported with out exposing whether we are utilizing the psutil
implementation or the alternative.

Reviewers: hubert.reinterpretcast, andusy, davide, delcypher

Reviewed By: delcypher

Subscribers: davide, delcypher, christof, lldb-commits, libcxx-commits, llvm-commits

Tags: #lldb, #libc, #llvm

Differential Revision: https://reviews.llvm.org/D64251

llvm-svn: 366912
2019-07-24 15:04:27 +00:00
..
cmake [lldb] Remove Xcode project legacy 2019-07-24 09:20:14 +00:00
docs [Docs] Remove stale documentation 2019-07-22 21:26:50 +00:00
examples [crashlog] Fix a mismatch between bytes and strings. 2019-07-09 01:05:12 +00:00
include/lldb Revert "Revert "Add ReadCStringFromMemory for faster string reads"" 2019-07-23 20:40:37 +00:00
lit [AIX][lit] Don't depend on psutil on AIX 2019-07-24 15:04:27 +00:00
packages/Python/lldbsuite Fix @skipIfSanitized decorator 2019-07-24 13:05:56 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [lldb] Remove Xcode project legacy 2019-07-24 09:20:14 +00:00
source [lldb] Fix build errors from tablegenify platform commit 2019-07-24 12:08:08 +00:00
test [CMake] Align debugserver with lldb-server on Darwin 2019-07-20 11:18:31 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools SymbolVendor: Move compile unit handling into the SymbolFile class 2019-07-23 09:24:02 +00:00
unittests Revert "Revert "Add ReadCStringFromMemory for faster string reads"" 2019-07-23 20:40:37 +00:00
utils [lldb] Fix enum value description 2019-07-23 22:46:16 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py