hanchenye-llvm-project/lldb/source
Pavel Labath 97a9ac1982 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
2015-02-05 16:44:42 +00:00
..
API Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target. 2015-02-04 23:19:15 +00:00
Breakpoint Make sure that when a breakpoint is hit but its condition is not met, 2015-01-15 01:41:04 +00:00
Commands Get test/types tests passing on remote targets 2015-02-04 22:25:34 +00:00
Core Avoid leaking log file descriptors into the inferior process. 2015-02-05 16:44:42 +00:00
DataFormatters Get rid of Debugger::FormatPrompt() and replace it with the new FormatEntity class. 2015-02-04 22:00:53 +00:00
Expression Get rid of Debugger::FormatPrompt() and replace it with the new FormatEntity class. 2015-02-04 22:00:53 +00:00
Host Avoid leaking log file descriptors into the inferior process. 2015-02-05 16:44:42 +00:00
Interpreter Unbreak the cmake build by adding some new files 2015-02-04 22:46:17 +00:00
Plugins Fix warning about the use of mktemp and make platform agnostic by adding and using PipeBase::CreateWithUniqueName - on behalf of flackr. 2015-02-05 16:29:12 +00:00
Symbol Fixed bugs in the multi-threaded access in HostInfoBase. Prior to this fix, static bool variables were used but this is not sufficient. We now use std::call_once in all places where the previous static bool code was used to try to implement thread safety. 2015-02-03 02:05:44 +00:00
Target Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target. 2015-02-04 23:19:15 +00:00
Utility UriParser - fixed potential buffer overrun 2015-01-15 20:57:01 +00:00
CMakeLists.txt Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target. 2015-02-04 23:19:15 +00:00
Makefile Use PARALLEL_DIRS instead of DIRS in the Makefile 2014-10-14 06:26:33 +00:00
lldb-log.cpp Make sure to #include <atomic> when using std::atomic. 2014-09-19 20:12:32 +00:00
lldb.cpp Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00