forked from OSchip/llvm-project
16 lines
428 B
Plaintext
16 lines
428 B
Plaintext
Test that llvm-nm returns an error because of the unknown file type, but
|
|
keeps processing subsequent files.
|
|
|
|
RUN: touch %t
|
|
RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
|
|
RUN: %p/Inputs/trivial-object-test.elf-i386 | \
|
|
RUN: FileCheck %s
|
|
|
|
CHECK: U SomeOtherFunction
|
|
CHECK: 00000000 T main
|
|
CHECK: U puts
|
|
|
|
CHECK: U SomeOtherFunction
|
|
CHECK: 00000000 T main
|
|
CHECK: U puts
|