[Signal] Allow one-shot SIGPIPE handler to be reached
authorVedant Kumar <vsk@apple.com>
Thu, 5 Dec 2019 03:21:14 +0000 (19:21 -0800)
committerVedant Kumar <vsk@apple.com>
Thu, 5 Dec 2019 03:38:19 +0000 (19:38 -0800)
commit9a3f892d018238dce5181e458905311db8e682f5
tree9177171b134bca11dcf234d8be8b4e8922245121
parent1de214fa413d7c3c0fab832fa1f9857606d2ec78
[Signal] Allow one-shot SIGPIPE handler to be reached

As SIGPIPE is no longer in the IntSigs array, handle SIGPIPE before
handling any interrupt signals.

Thanks to Alexandre Ganea for pointing out the issue here.
llvm/lib/Support/Unix/Signals.inc