2 # RUN: not llvm-tli-checker 2>&1 | FileCheck %s --check-prefix=NOFILES
6 # RUN: llvm-tli-checker %t0.txt 2>&1 | FileCheck %s -DFILE=%t0.txt --check-prefixes=FILE-NOT-FOUND,NOSYMBOLS-AT-ALL
8 ## Reject a non-binary file.
9 # RUN: echo nonsense > %t1.o
10 # RUN: llvm-tli-checker %t1.o 2>&1 | FileCheck %s --check-prefixes=INVALID-FILE,NOSYMBOLS-AT-ALL
12 ## Reject an empty file.
13 # RUN: yaml2obj %s -o %t2.o
14 # RUN: llvm-tli-checker %t2.o 2>&1 | FileCheck %s -DFILE=%t2.o --check-prefixes=NOSYMBOLS-IN-FILE,NOSYMBOLS-AT-ALL
16 # NOFILES: error: no input files
17 # FILE-NOT-FOUND-DAG: warning: [[FILE]]: not found
18 # INVALID-FILE-DAG: warning: The file was not recognized as a valid object file
19 # NOSYMBOLS-AT-ALL-DAG: error: NO symbols found!
20 # NOSYMBOLS-IN-FILE-DAG: warning: [[FILE]]: no symbols found
22 ## Minimal ELF with no symbols.
27 OSABI: ELFOSABI_FREEBSD