diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-12-19 23:45:17 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-12-19 23:45:17 +0000 |
commit | f762a9f8f0b95db3ec2e7ff9e17e8663df64b579 (patch) | |
tree | 0b92f075ed924b4b666708cedb7798c30933c491 /lldb/packages/Python/lldbsuite/test/python_api/target | |
parent | b68cb5498b7db48c236ea5b9c234fbe2e47f1652 (diff) | |
download | bcm5719-llvm-f762a9f8f0b95db3ec2e7ff9e17e8663df64b579.tar.gz bcm5719-llvm-f762a9f8f0b95db3ec2e7ff9e17e8663df64b579.zip |
[sanitizer] Support running without fd 0,1,2.
Summary:
Support running with no open file descriptors (as may happen to
"init" process on linux).
* Remove a check that writing to stderr succeeds.
* When opening a file (ex. for log_path option), dup the new fd out of
[0, 2] range to avoid confusing the program.
Reviewers: pcc, vitalybuka
Subscribers: kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D55801
llvm-svn: 349699
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target')
0 files changed, 0 insertions, 0 deletions