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

Jordan Rose via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 17 17:09:03 PDT 2019


jordan_rose added inline comments.


================
Comment at: llvm/lib/Support/Unix/Signals.inc:372
       if (Sig == SIGPIPE)
-        exit(EX_IOERR);
+        if (SignalHandlerFunctionType CurrentPipeFunction = PipeSignalFunction)
+          CurrentPipeFunction();
----------------
Should it be doing the same sort of `exchange` as the interrupt function?


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

https://reviews.llvm.org/D69148





More information about the lldb-commits mailing list