1 Test that llvm-nm returns an error because of the unknown file type, but
2 keeps processing subsequent files.
4 Note: We use a temporary file since the tests don't run with pipefail.
7 RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
8 RUN: %p/Inputs/trivial-object-test.elf-i386 > %t.log
9 RUN: FileCheck %s < %t.log
11 CHECK: U SomeOtherFunction
12 CHECK: 00000000 T main
15 CHECK: U SomeOtherFunction
16 CHECK: 00000000 T main