aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-02-09 11:37:56 +0000
committerPavel Labath <labath@google.com>2015-02-09 11:37:56 +0000
commitb4bf1c65b72fe68f59fb411b26f5875d1ca22b54 (patch)
tree2776e7d654fbc296913b4437ee85a85f3b42b0e6 /clang/lib/Frontend/CompilerInvocation.cpp
parentdd4f052db6ca4ee02f4fc564488a9a6ca5434003 (diff)
downloadllvm-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