diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-12-04 13:14:02 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-12-04 13:14:02 +0000 |
| commit | 458532c2dd24708181cdce77b8f60938fdc90dc6 (patch) | |
| tree | 2fe1fc91fff79aa8d0c52c1c486aa89deadc3d67 /llvm/lib/Support/Unix/Signals.inc | |
| parent | dafdd7863e9eeed3a714329b8758451cbcfc33bf (diff) | |
Diffstat (limited to 'llvm/lib/Support/Unix/Signals.inc')
| -rw-r--r-- | llvm/lib/Support/Unix/Signals.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc index bf145bffe8bf..23ac012b9e00 100644 --- a/llvm/lib/Support/Unix/Signals.inc +++ b/llvm/lib/Support/Unix/Signals.inc @@ -432,10 +432,6 @@ void llvm::sys::SetOneShotPipeSignalFunction(void (*Handler)()) { } void llvm::sys::DefaultOneShotPipeSignalHandler() { - // UNIX03 conformance requires a non-zero exit code and an error message - // to stderr when writing to a closed stdout fails. - errs() << "error: write on a pipe with no reader\n"; - // Send a special return code that drivers can check for, from sysexits.h. exit(EX_IOERR); } |
