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

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 8 15:41:16 PDT 2018


jfb added inline comments.


================
Comment at: lib/Support/Unix/Signals.inc:339
+      if (Sig == SIGPIPE)
+        exit(71);
+
----------------
Can you make this number non-magical by defining it somewhere in a header file, and using it here as well as in clang?


Repository:
  rL LLVM

https://reviews.llvm.org/D53000





More information about the llvm-commits mailing list