llvm-project/llvm
Bill Wendling 4787efa380 Revert "Reapply: Add an error message to the default SIGPIPE handler"
This patch is spamming compiles with unhelpful and confusing messages.
E.g. the Linux kernel uses "grep -q" in several places. It's meant to
quit with a return code of zero when the first match is found. This can
cause a SIGPIPE signal, but that's expected, and there's no way to turn
this error message off to avoid spurious error messages.

UNIX03 apparently doesn't require printing an error message on SIGPIPE,
but specifically when there's an error on the stdout stream in a normal
program flow, e.g. when SIGPIPE trap is disabled.

A separate patch is planned to address the specific case we care most
about (involving llvm-nm).

This reverts commit b89bcefa62.

Link: https://github.com/llvm/llvm-project/issues/59037
Link: https://github.com/ClangBuiltLinux/linux/issues/1651

Differential Revision: https://reviews.llvm.org/D138244
2022-11-18 11:17:25 -08:00
..
benchmarks
bindings [AggressiveInstCombine] Remove legacy PM pass 2022-11-15 14:35:15 -08:00
cmake [cmake] Fix _GNU_SOURCE being added unconditionally 2022-11-14 12:28:21 -08:00
docs [RISCV][llvm-mca] Use LMUL Instruments to provide more accurate reports on RISCV 2022-11-18 09:55:15 -08:00
examples Revert "[LegacyPM] Remove pipeline extension mechanism" 2022-10-28 10:26:58 -07:00
include [FuzzMutate] change of format and comment for further code 2022-11-18 10:58:05 -08:00
lib Revert "Reapply: Add an error message to the default SIGPIPE handler" 2022-11-18 11:17:25 -08:00
projects
resources
runtimes [libc] Forward LLVM_LIBC options when using a runtimes build 2022-11-14 16:23:56 -06:00
test Revert "Reapply: Add an error message to the default SIGPIPE handler" 2022-11-18 11:17:25 -08:00
tools [SystemZ][z/OS] Set text flag correctly for llvm-reduce tool 2022-11-18 13:39:34 -05:00
unittests [FuzzMutate] change of format and comment for further code 2022-11-18 10:58:05 -08:00
utils [gn build] port 7059a6c32c 2022-11-18 06:48:51 -05:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Move googletest to the third-party directory 2022-11-09 15:28:08 -08:00
CODE_OWNERS.TXT [SPIRV] support the enqueue_kernel builtin function 2022-11-01 02:52:08 +03:00
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.