aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/CoverageMappingTest.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-02-04 10:36:57 +0000
committerPavel Labath <labath@google.com>2015-02-04 10:36:57 +0000
commit493c3a127f64766ddc1bc05a297c2c53052bee62 (patch)
tree804d71450e724d1bd286967866d36f7766c01b6e /llvm/unittests/ProfileData/CoverageMappingTest.cpp
parent2a5c0a51ce5b1516b5007aace25a58d8e3c94425 (diff)
downloadllvm-493c3a127f64766ddc1bc05a297c2c53052bee62.zip
llvm-493c3a127f64766ddc1bc05a297c2c53052bee62.tar.gz
llvm-493c3a127f64766ddc1bc05a297c2c53052bee62.tar.bz2
Avoid leakage of file descriptors in LLDB and LLGS
Summary: Both LLDB and LLGS are leaking file descriptors into the debugged process. This plugs the leak by closing the unneeded descriptors. In one case I use O_CLOEXEC, which I hope is supported on relevant platforms. I also added a regression test and plugged a fd leak in dosep.py. Reviewers: vharron, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7372 llvm-svn: 228130
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions