llvm-project/llvm
Vedant Kumar 32ce14e55e Disable exit-on-SIGPIPE in lldb
Occasionally, during test teardown, LLDB writes to a closed pipe.
Sometimes the communication is inherently unreliable, so LLDB tries to
avoid being killed due to SIGPIPE (it calls `signal(SIGPIPE, SIG_IGN)`).
However, LLVM's default SIGPIPE behavior overrides LLDB's, causing it to
exit with IO_ERR.

Opt LLDB out of the default SIGPIPE behavior. I expect that this will
resolve some LLDB test suite flakiness (tests randomly failing with
IO_ERR) that we've seen since r344372.

rdar://55750240

Differential Revision: https://reviews.llvm.org/D69148

llvm-svn: 375288
2019-10-18 21:05:30 +00:00
..
benchmarks
bindings
cmake
docs Update docs for fast-math flags. 2019-10-18 16:07:09 +00:00
examples [examples] Fix some comments in the LLJITWithJITLink example 2019-10-18 18:35:02 +00:00
include Disable exit-on-SIGPIPE in lldb 2019-10-18 21:05:30 +00:00
lib Disable exit-on-SIGPIPE in lldb 2019-10-18 21:05:30 +00:00
projects
resources
runtimes
test [X86] Fix register parsing in .seh_* in Intel syntax 2019-10-18 21:01:41 +00:00
tools [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
unittests Disable exit-on-SIGPIPE in lldb 2019-10-18 21:05:30 +00:00
utils [lit] Reduce value of synthesized timeouts 2019-10-18 17:59:46 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.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.