[PATCH] D64706: [tools] [llvm-objdump] Default to reading from stdin not a.out
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 18:42:43 PDT 2019
MaskRay added inline comments.
================
Comment at: llvm/test/tools/llvm-objdump/stdin.test:9
+## and does not use a.out as the default file.
+# RUN: not llvm-objdump -h 2>&1 | FileCheck %s
+# CHECK-NOT: error: 'a.out': No such file or directory
----------------
You can writes this as:
`not llvm-objdump -h < /dev/null 2>&1 | FileCheck %s`
to test that llvm-objdump doesn't read from a.out
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64706/new/
https://reviews.llvm.org/D64706
More information about the llvm-commits
mailing list