aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2018-10-12 17:22:07 +0000
committerNick Desaulniers <ndesaulniers@google.com>2018-10-12 17:22:07 +0000
commit727891c9182aabd39cef9998ab7be365cb5ab19b (patch)
tree4f87d723a1860ec8b252ca442f1498e3ca6357c0 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentaa30268539a9e958b149b0583de02eeb7e10e5e8 (diff)
downloadllvm-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 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions