diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-12-20 20:36:33 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-12-20 20:36:33 +0000 |
commit | 3b7e8b2dbb1213d35917556f3e917d7add583506 (patch) | |
tree | 03bee44ce244fd729229c6bc02bf512be5741c7c /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py | |
parent | 0e44ffdb0e672e1be6ee393c79c557b575585799 (diff) | |
download | bcm5719-llvm-3b7e8b2dbb1213d35917556f3e917d7add583506.tar.gz bcm5719-llvm-3b7e8b2dbb1213d35917556f3e917d7add583506.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.
(2nd attempt, this time without the sanitizer_rtems change)
Reviewers: pcc, vitalybuka
Subscribers: kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D55801
llvm-svn: 349817
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions