Fix TestFdLeak on Linux.
authorChaoren Lin <chaorenl@google.com>
Thu, 23 Apr 2015 18:28:04 +0000 (18:28 +0000)
committerChaoren Lin <chaorenl@google.com>
Thu, 23 Apr 2015 18:28:04 +0000 (18:28 +0000)
commit9cf4f2c2d8347c9e7843ac4c00854ca0eb386ac1
treeee927e77c52865e9fd3537e20c200339d75b69e6
parentb8b2ed6529f176db7832d1e2a69fae55fa336bc8
Fix TestFdLeak on Linux.

Summary:
LLGS leaks pipes (when launched by lldb), sockets (when launched by platform),
and/or log file to the inferior. This should prevent all possible leaks.

Reviewers: vharron, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits

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

llvm-svn: 235615
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp