mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
d68dfedd72
To improve consistency and avoid unneeded shell feature (output redirection). While here, make other changes to improve consistency --docnum 1 => --docnum=1 -docnum=x => --docnum=x
20 lines
398 B
Plaintext
20 lines
398 B
Plaintext
## Test that llvm-nm returns an error because of the unknown file type, but
|
|
## keeps processing subsequent files.
|
|
|
|
# RUN: yaml2obj %s -o %t-i386
|
|
# RUN: touch %t
|
|
# RUN: not llvm-nm %t-i386 %t %t-i386 | FileCheck %s
|
|
|
|
# CHECK: U foo
|
|
# CHECK: U foo
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS32
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_386
|
|
Symbols:
|
|
- Name: foo
|
|
Binding: STB_GLOBAL
|