diff options
author | Pavel Labath <labath@google.com> | 2015-02-04 10:36:57 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-02-04 10:36:57 +0000 |
commit | 493c3a127f64766ddc1bc05a297c2c53052bee62 (patch) | |
tree | 804d71450e724d1bd286967866d36f7766c01b6e /llvm/utils/update_llc_test_checks.py | |
parent | 2a5c0a51ce5b1516b5007aace25a58d8e3c94425 (diff) | |
download | bcm5719-llvm-493c3a127f64766ddc1bc05a297c2c53052bee62.tar.gz bcm5719-llvm-493c3a127f64766ddc1bc05a297c2c53052bee62.zip |
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/utils/update_llc_test_checks.py')
0 files changed, 0 insertions, 0 deletions