1 ## Show that llvm-size emits an error if passed in a non-existent file.
3 # RUN: not llvm-size %t.blah 2>&1 | FileCheck %s -DFILE=%t.blah -DMSG=%errc_ENOENT --check-prefix=ENOENT
4 # ENOENT: {{.*}}llvm-size{{.*}}: error: '[[FILE]]': [[MSG]]
6 ## Show that llvm-size reads a.out if not passed any file.
8 # RUN: rm -rf %t && mkdir -p %t
10 # RUN: yaml2obj %s -o a.out
11 # RUN: llvm-size 2>&1 | FileCheck %s -DFILE=a.out
13 # CHECK: text data bss dec hex filename
14 # CHECK-NEXT: 42 0 0 42 2a a.out
25 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]