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 --check-prefix=ENOENT
4 # ENOENT: {{.*}}llvm-size{{.*}}: error: '[[FILE]]': {{[Nn]}}o such file or directory
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 ]