[PATCH] D53000: [Support] exit with custom return code for SIGPIPE

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 16:28:36 PDT 2019


jfb added a comment.

In D53000#1430182 <https://reviews.llvm.org/D53000#1430182>, @JDevlieghere wrote:

> Hey Nick,
>
> This change is causing problems in LLDB. We want to ignore `SIGPIPE` and this appears to be making that impossible, which doesn't sound fair for something like libSupport. I'm not at all familiar with this code, but can we at least check if the signal is supposed to be ignored here?


I think you'll want to set up something like `InterruptFunction`: by default we'll do what Nick added, but if you ask we can do something else for `SIGPIPE`.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D53000





More information about the llvm-commits mailing list