diff options
author | Zachary Turner <zturner@google.com> | 2018-06-08 15:15:56 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-06-08 15:15:56 +0000 |
commit | 6edfecb88380862166c72e0ac5dbcaba6538ec58 (patch) | |
tree | e0b8dbc3698ca4821c2cdbfa25bb57d234a1fda4 /llvm/lib/Support/Unix/Program.inc | |
parent | aafcf9e4a1e7a58196467dd65cb984f563ae6a71 (diff) | |
download | bcm5719-llvm-6edfecb88380862166c72e0ac5dbcaba6538ec58.tar.gz bcm5719-llvm-6edfecb88380862166c72e0ac5dbcaba6538ec58.zip |
Add a file open flag that disables O_CLOEXEC.
O_CLOEXEC is the right default, but occasionally you don't
want this. This is especially true for tools like debuggers
where you might need to spawn the child process with specific
files already open, but it's occasionally useful in other
scenarios as well, like when you want to do some IPC between
parent and child.
llvm-svn: 334293
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions