1 Test that llvm-nm returns an error because of the unknown file type, but 2 keeps processing subsequent files. 3 4 Note: We use a temporary file since the tests don't run with pipefail. 5 6 RUN: touch %t 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 10 11 CHECK: U SomeOtherFunction 12 CHECK: 00000000 T main 13 CHECK: U puts 14 15 CHECK: U SomeOtherFunction 16 CHECK: 00000000 T main 17 CHECK: U puts 18