diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-09-16 23:12:18 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-09-16 23:12:18 +0000 |
commit | 1efb418c9dc8315db607b852e601e2043ec58759 (patch) | |
tree | ff7e6e543ad8fc34e2120903c8214ec4f37c2a3e /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 7baa983a7e07f869b24d38836ad79a5877905af8 (diff) | |
download | llvm-1efb418c9dc8315db607b852e601e2043ec58759.zip llvm-1efb418c9dc8315db607b852e601e2043ec58759.tar.gz llvm-1efb418c9dc8315db607b852e601e2043ec58759.tar.bz2 |
Improve stability of Linux ProcessMonitor by not using fds for synchronization:
- ProcessMonitor::[Do|Serve]Operation no longer depend on file descriptors!
- removed unused member functions CloseFD and EnableIPC
- add semaphores to signal when an Operation is ready to be processed/complete.
This commit fixes a bug that was identified under stress-testing (i.e. build
LLVM while running tests) that led to LLDB becoming unresponsive because the
read/write operations on file descriptors in ProcessMonitor were not checked.
Other test runner improvement/convenience:
- pickup environment variables LLDB_LINUX_LOG and LLDB_LINUX_LOG_OPTIONS to
enable (Linux) logging when running the test suite. Example usage:
$ LLDB_LINUX_LOG="mylog.txt" LLDB_LINUX_LOG_OPTIONS="process thread" python dotest.py
llvm-svn: 190820
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions