[PATCH] D117587: [ifs] Use a tmp file instead of "-"

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 19 08:01:28 PST 2022


hubert.reinterpretcast 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
 
----------------
With the temporary file added, the pipe is unnecessary (and possibly unwanted). Does the suggestion here work?


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