diff options
| author | Pavel Labath <labath@google.com> | 2015-02-05 16:44:42 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2015-02-05 16:44:42 +0000 |
| commit | 97a9ac198255de8420624d66417301765b116795 (patch) | |
| tree | 02d208dd514abfd962acf305c0205aceec69898a /llvm/lib | |
| parent | fe0c7ad852497889fcadd7a814d551aa9af5ccf5 (diff) | |
| download | bcm5719-llvm-97a9ac198255de8420624d66417301765b116795.tar.gz bcm5719-llvm-97a9ac198255de8420624d66417301765b116795.zip | |
Avoid leaking log file descriptors into the inferior process.
Summary:
This commit adds a new open flag File::eOpenOptionCloseOnExec (i.e., O_CLOEXEC), and adds it to
the list of flags when opening log files (#ifndef windows). A regression test is included.
Reviewers: vharron, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D7412
llvm-svn: 228310
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

