Go to file
Pavel Labath 3a2da9eb0d Fix TestProcesslaunch regression caused by D7372
Summary:
After closing all the leaked file descriptors to the inferior tty, the following problem occured:
- when stdin, stdout and stderr are redirected, there are no slave descriptors open (which is good)
- lldb has a reader thread, which attempts to read from the master end of the tty
- this thread receives an EOF
- in response, it closes it's master end
- as this is the last open file descriptor for the master end, this deletes the tty and sends
  SIGHUP to the inferior (this is bad)

I fix this problem by making sure the master end remains open for the duration of the inferior
process by storing a copy of the file descriptor in ProcessMonitor. I create a copy to avoid
ownership issues with the reading thread.

Reviewers: ovyalov, emaste

Subscribers: lldb-commits

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

llvm-svn: 228391
2015-02-06 11:32:52 +00:00
clang OpenCL: handle shift operator with vector operands 2015-02-06 05:44:55 +00:00
clang-tools-extra [clang-tidy] Don't ignore default set of checks when a config file is found. 2015-02-05 14:50:17 +00:00
compiler-rt [UBSan] Enable -Wglobal-constructors. 2015-02-06 05:53:08 +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 log10 2015-01-30 18:00:34 +00:00
libcxx Add __cxxabi_config.h to libcxxabi headers. 2015-02-05 23:56:33 +00:00
libcxxabi Fix build for apple machines. 2015-02-06 01:25:08 +00:00
lld [Core] Update ContentPermissions 2015-02-06 05:29:49 +00:00
lldb Fix TestProcesslaunch regression caused by D7372 2015-02-06 11:32:52 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm [PBQP] Fix comment wording. NFC 2015-02-06 11:28:16 +00:00
openmp Pin the libiomp5.dll for the lifetime of application, Windows-specific 2015-01-29 17:18:20 +00:00
polly Build the isl files as PIC 2015-02-04 21:56:28 +00:00