llvm-project/lldb
Todd Fiala 3f0a360f18 Enable multi-process testing for MacOSX.
This change modifies the way the multi-threaded test runner works.
It uses the Python multiprocessing library rather than the threading
library.  Investigation showed that all MacOSX threads were waiting on
the global python lock when using the threading approach.  Not sure
why that differed from the Linux/FreeBSD implementations.

The new approach uses the multiprocessing library's Pool class.  It's
mildly cleaner than the other version, runs multithreaded on MacOSX,
and seems to have caused no performance regression on Linux.  The
worker thread logic is simpler with the Pool managing the worker
processes.

This also includes a minor change to the test runner's python
lldb dir logic using the -P option.  It now looks at the last line
of output rather than the first line.  This covers part of the issue
of extra options validation logic getting spit out.  The test runner
will now pick up the right python library directory.  It does not
fix all the issues, though, as a ton of tests (50+ on Linux) are
failing due to unexpected output when running lldb.

llvm-svn: 212513
2014-07-08 06:42:37 +00:00
..
docs Fix typos. 2014-07-01 21:22:11 +00:00
examples Fix typos. 2014-07-01 21:22:11 +00:00
include Implment "platform process list" for Windows. 2014-07-08 04:52:15 +00:00
lib Patch from Keno Fischer to enable JITLoaderGDB with mach-o file support. 2014-06-24 22:22:43 +00:00
lldb.xcodeproj Add host layer support for pipes. 2014-07-02 21:10:39 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Update the lldb version number in the xcode project files from 310.99.0 to 320.99.0. 2014-01-10 06:12:10 +00:00
scripts Fix typos. 2014-07-01 21:22:11 +00:00
source Implment "platform process list" for Windows. 2014-07-08 04:52:15 +00:00
test Enable multi-process testing for MacOSX. 2014-07-08 06:42:37 +00:00
tools Fix typos. 2014-07-01 21:22:11 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Add docs for the "thread.completed-expression" format entry. 2014-07-08 01:10:49 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.gitignore Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
CMakeLists.txt CMake: Let LLDB build with CMake 3 2014-07-07 20:29:00 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Add some missing defines that are already present in the cmake side. 2014-03-12 10:35:00 +00:00