[PATCH] D142224: [Support] Emulate SIGPIPE handling in raw_fd_ostream write for Windows
Andrew Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 06:05:05 PST 2023
andrewng updated this revision to Diff 494604.
andrewng edited the summary of this revision.
andrewng added a comment.
In D142224#4101799 <https://reviews.llvm.org/D142224#4101799>, @mstorsjo wrote:
> I did a bit more digging on the unix side, and https://github.com/llvm/llvm-project/issues/59037 and https://reviews.llvm.org/D138244 fixed the issue for `clang -E` on the unix side. Is there something that we could do about the default handler here, not specific to `raw_ostream`?
This patch now also fixes the `clang -E` related issue on Windows. Was more complicated than expected...
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142224/new/
https://reviews.llvm.org/D142224
Files:
clang/lib/Driver/Driver.cpp
llvm/include/llvm/Support/ExitCodes.h
llvm/include/llvm/Support/Signals.h
llvm/lib/Support/Windows/Signals.inc
llvm/lib/Support/raw_ostream.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142224.494604.patch
Type: text/x-patch
Size: 5331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230203/04b9d27a/attachment.bin>
More information about the llvm-commits
mailing list