[Lldb-commits] [PATCH] D69148: Disable exit-on-SIGPIPE in lldb

JF Bastien via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 17 16:21:46 PDT 2019


jfb added inline comments.


================
Comment at: lldb/tools/driver/Driver.cpp:864
+  // in LLDB leaves behind temporary objects).
+  llvm::sys::SetExitOnFailedPipeWrite(/*ExitOnFailedWrite=*/false);
+
----------------
Could this instead pass a lambda, like other signal handlers? So sigpipe would call any user-specified lambda, and by default would instead call exit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69148/new/

https://reviews.llvm.org/D69148





More information about the lldb-commits mailing list