diff options
author | Pavel Labath <labath@google.com> | 2015-02-09 11:37:56 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-02-09 11:37:56 +0000 |
commit | b4bf1c65b72fe68f59fb411b26f5875d1ca22b54 (patch) | |
tree | 2776e7d654fbc296913b4437ee85a85f3b42b0e6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dd4f052db6ca4ee02f4fc564488a9a6ca5434003 (diff) | |
download | llvm-b4bf1c65b72fe68f59fb411b26f5875d1ca22b54.zip llvm-b4bf1c65b72fe68f59fb411b26f5875d1ca22b54.tar.gz llvm-b4bf1c65b72fe68f59fb411b26f5875d1ca22b54.tar.bz2 |
Fix descriptor leak in multi-target debugging
Summary:
When debugging two targets concurrently, the pseude terminal master fd from the first one would
leak into the second. This fixes the problem by setting O_CLOEXEC on the master fd. Test
included.
Reviewers: clayborg, vharron
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D7466
llvm-svn: 228570
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions