[PATCH] D87956: [IR] add fn attr for no_stack_protector; prevent inlining on mismatch

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 22 14:06:15 PDT 2020


void added a comment.

In D87956#2348433 <https://reviews.llvm.org/D87956#2348433>, @nickdesaulniers wrote:

> In phab here, it looks like my newly added clang/test/Frontend/optimization-remark-missed-inline-stack-protectors.c fails on windows because I redirect stdout to /dev/null.  How does that work for other tests?  I see other tests in that dir write to /dev/null.  Oh, I guess `-o /dev/null` will just create a file called `"/dev/null"` on Windows? So I should do that rather than `1> /dev/null`?

Why not just use "expected-error" and the like?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87956



More information about the cfe-commits mailing list