mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
18 lines
514 B
Plaintext
18 lines
514 B
Plaintext
|
Test that llvm-nm returns an error because of the unknown file type, but
|
||
|
keeps processing subsequent files.
|
||
|
|
||
|
Note: We use a temporary file since the tests don't run with pipefail.
|
||
|
|
||
|
RUN: touch %t
|
||
|
RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
|
||
|
RUN: %p/Inputs/trivial-object-test.elf-i386 > %t.log
|
||
|
RUN: FileCheck %s < %t.log
|
||
|
|
||
|
CHECK: U SomeOtherFunction
|
||
|
CHECK: 00000000 T main
|
||
|
CHECK: U puts
|
||
|
|
||
|
CHECK: U SomeOtherFunction
|
||
|
CHECK: 00000000 T main
|
||
|
CHECK: U puts
|