[PATCH] D117587: [ifs] Use a tmp file instead of "-"
Jake Egan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 19 08:24:09 PST 2022
Jake-Egan added inline comments.
================
Comment at: clang/test/InterfaceStubs/object.c:2
// RUN: %clang_cc1 -fvisibility default -o - -emit-interface-stubs %s | FileCheck -check-prefix=CHECK-TAPI %s
-// RUN: %clang -fvisibility=default -c -o - %s | llvm-nm - 2>&1 | FileCheck -check-prefix=CHECK-SYMBOLS %s
+// RUN: %clang -fvisibility=default -c -o %t.o %s | llvm-nm %t.o 2>&1 | FileCheck -check-prefix=CHECK-SYMBOLS %s
----------------
hubert.reinterpretcast wrote:
> With the temporary file added, the pipe is unnecessary (and possibly unwanted). Does the suggestion here work?
Yes this suggestion works. I updated the patch accordingly
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117587/new/
https://reviews.llvm.org/D117587
More information about the cfe-commits
mailing list