[all-commits] [llvm/llvm-project] bf4012: [Signal] Re-raise SIGPIPE if the handler is uninst...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Fri Jan 8 11:14:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf401256edd00e921a5d3a0bf4cf6ee66ae51cd6
      https://github.com/llvm/llvm-project/commit/bf401256edd00e921a5d3a0bf4cf6ee66ae51cd6
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/lib/Support/Unix/Signals.inc

  Log Message:
  -----------
  [Signal] Re-raise SIGPIPE if the handler is uninstalled

Instead of falling through to RunSignalHandlers after the SIGPIPE
handler is uninstalled and we get a SIGPIPE, re-raise the signal, just
like we do for other IntSigs.

This was discussed and informally OK'd here:

https://reviews.llvm.org/rG9a3f892d018238dce5181e458905311db8e682f5#856804




More information about the All-commits mailing list