[PATCH] D142224: [Support] Emulate SIGPIPE handling in raw_fd_ostream write for Windows

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 09:38:02 PST 2023


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

I don't know much about Windows. Best to wait for @mstorsjo



================
Comment at: llvm/lib/Support/Windows/Signals.inc:210
+static std::atomic<void (*)()> OneShotPipeSignalFunction =
+    ATOMIC_VAR_INIT(nullptr);
+
----------------
`ATOMIC_VAR_INIT` is deprecated. Just use nullptr?


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

https://reviews.llvm.org/D142224



More information about the llvm-commits mailing list