[PATCH] D94324: [InitLLVM] Ensure SIGPIPE handler installed before sigaction()

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 8 12:06:39 PST 2021


nickdesaulniers added a comment.

Much thanks for the patch!



================
Comment at: clang/test/Driver/sigpipe-handling.c:2
+// REQUIRES: shell
+// RUN: %clang -E -fno-integrated-cc1 %s | tee /dev/null | head -n1 | FileCheck %s
+
----------------
 Looks like

    clang -E -fno-integrated-cc1 %s | head

is even enough to repro (no `tee` needed).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94324



More information about the cfe-commits mailing list