llvm-project/llvm/lib
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
..
Analysis ConstantFolding: Constant fold some canonicalizes 2022-11-18 10:35:19 -08:00
AsmParser Restore "[MemProf] ThinLTO summary support" with more fixes 2022-11-16 09:42:41 -08:00
BinaryFormat [BinaryFormat] Add LoongArch 2022-11-17 12:00:48 +08:00
Bitcode Restore "[MemProf] ThinLTO summary support" with more fixes 2022-11-16 09:42:41 -08:00
Bitstream
CodeGen [SDAG] Allow scalable vectors in ComputeNumSignBits 2022-11-18 10:50:06 -08:00
DWARFLinker [DWARFLinker][NFC] Set the target DWARF version explicitly. 2022-09-15 16:06:10 +03:00
DWP [llvm-dwp] Report the filename if it cannot be found 2022-09-14 11:32:41 +08:00
DebugInfo Reland "[llvm][NFC] Use c++17 style variable type traits" 2022-11-08 14:15:15 +00:00
Debuginfod [llvm-debuginfod-find] Fix test/behavior on Windows. 2022-11-08 09:52:33 -08:00
Demangle [demangler] Simplify OutputBuffer initialization 2022-10-17 04:23:16 -07:00
ExecutionEngine [JITLink][RISCV] Add R_RISCV_LO12_S relocation support 2022-11-16 19:50:18 +08:00
Extensions
FileCheck
Frontend Migrate getOrCreateInternalVariable from Clang to OMPIRBuilder. 2022-11-14 17:18:10 +00:00
FuzzMutate [FuzzMutate] change of format and comment for further code 2022-11-18 10:58:05 -08:00
Fuzzer
IR [IR] Split out IR printing passes into IRPrinter 2022-11-18 01:47:56 +00:00
IRPrinter Revert "Revert "[opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm"" 2022-11-18 08:58:31 +00:00
IRReader
InterfaceStub
LTO [LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally 2022-11-16 22:13:22 -08:00
LineEditor [llvm] Use range-based for loops (NFC) 2022-09-03 11:17:40 -07:00
Linker [llvm] Qualify auto in range-based for loops (NFC) 2022-08-13 12:55:42 -07:00
MC [SampleFDO] Persist profile staleness metrics into binary 2022-11-09 22:34:33 -08:00
MCA [RISCV][llvm-mca] Use LMUL Instruments to provide more accurate reports on RISCV 2022-11-18 09:55:15 -08:00
ObjCopy [objcopy] Fix order of Mach-O LINKEDIT pieces during layout 2022-11-11 12:05:57 -08:00
Object [XCOFF] llvvm-readobj support display symbol table of loader section of xcoff object file. 2022-11-18 12:11:13 -05:00
ObjectYAML [Hexagon] Add ELF flags for Hexagon v71, v71t, and v73 2022-11-17 14:15:46 -08:00
Option [llvm] Qualify auto in range-based for loops (NFC) 2022-08-28 23:29:00 -07:00
Passes [IR] Split out IR printing passes into IRPrinter 2022-11-18 01:47:56 +00:00
ProfileData Reland "[llvm][NFC] Use c++17 style variable type traits" 2022-11-08 14:15:15 +00:00
Remarks Remove redundant initialization of Optional (NFC) 2022-08-20 21:18:28 -07:00
Support Revert "Reapply: Add an error message to the default SIGPIPE handler" 2022-11-18 11:17:25 -08:00
TableGen Revert "[NFC] Make format() more amenable to format attributes" 2022-11-16 19:09:49 +04:00
Target [RISCV][CodeGen] Chapter of vector instruction type corresponds with chapters in RISCV vector specification. NFC 2022-11-18 10:30:08 -08:00
Testing [Support] Add support for attaching payloads to points and ranges 2022-11-18 15:00:23 +01:00
TextAPI [llvm][TextAPI] add driverkit as supported platform for older tbd 2022-09-19 15:08:29 -07:00
ToolDrivers
Transforms [Assignment Tracking][24/*] Always RemoveRedundantDbgInstrs in instcombine in assignment tracking builds 2022-11-18 12:36:41 +00:00
WindowsDriver
WindowsManifest
XRay [XRay] Remove XRayRecordStorage 2022-09-11 16:11:41 -07:00
CMakeLists.txt [IR] Split out IR printing passes into IRPrinter 2022-11-18 01:47:56 +00:00