llvm-project/lldb/tools
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
..
argdumper [JSON] Use LLVM's library for argdumper 2019-10-01 17:41:55 +00:00
compact-unwind Add arm64_32 support to lldb, an ILP32 codegen 2019-10-16 19:14:49 +00:00
darwin-debug [CMake] `install-distribution` for LLDB on Darwin 2019-07-10 11:09:29 +00:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver Add arm64_32 support to lldb, an ILP32 codegen 2019-10-16 19:14:49 +00:00
driver Disable exit-on-SIGPIPE in lldb 2019-10-18 21:05:30 +00:00
intel-features cli-wrapper-mpxtable.cpp: fix file header 2019-07-25 05:15:50 +00:00
lldb-instr [lldb] [cmake] Support linking against clang-cpp dylib 2019-10-04 12:03:03 +00:00
lldb-mi [LLDB] Remove lldb-mi 2019-07-18 17:06:06 +00:00
lldb-perf/darwin/sketch Remove lldb-perf 2019-07-08 21:38:34 +00:00
lldb-server [LLDB] [lldb-server] Use llvm::InitLLVM for doing unicode conversion of arguments for windows 2019-10-11 11:47:07 +00:00
lldb-test Modernize the rest of the Find.* API (NFC) 2019-10-17 19:56:40 +00:00
lldb-vscode [lldb-vscode] correctly handle multiple sourceMap entries 2019-09-26 21:18:37 +00:00
CMakeLists.txt [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER 2019-09-24 22:39:04 +00:00