diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2018-10-12 17:22:07 +0000 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2018-10-12 17:22:07 +0000 |
commit | 727891c9182aabd39cef9998ab7be365cb5ab19b (patch) | |
tree | 4f87d723a1860ec8b252ca442f1498e3ca6357c0 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | aa30268539a9e958b149b0583de02eeb7e10e5e8 (diff) | |
download | llvm-727891c9182aabd39cef9998ab7be365cb5ab19b.zip llvm-727891c9182aabd39cef9998ab7be365cb5ab19b.tar.gz llvm-727891c9182aabd39cef9998ab7be365cb5ab19b.tar.bz2 |
[Support] exit with custom return code for SIGPIPE
Summary:
We tell the user to file a bug report on LLVM right now, and
SIGPIPE isn't LLVM's fault so our error message is wrong.
Allows frontends to detect SIGPIPE from writing to closed readers.
This can be seen commonly from piping into head, tee, or split.
Fixes PR25349, rdar://problem/14285346, b/77310947
Reviewers: jfb
Reviewed By: jfb
Subscribers: majnemer, kristina, llvm-commits, thakis, srhines
Differential Revision: https://reviews.llvm.org/D53000
llvm-svn: 344372
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions