repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[yaml2obj][obj2yaml] - Do not create a symbol table by default.
[llvm-complete.git]
/
test
/
Object
/
nm-error.test
blob
9b66e10ebeb1e64e79afefd1f099ce99f6f154ad
1
## Test that llvm-nm returns an error because of the unknown file type, but
2
## keeps processing subsequent files.
3
4
# RUN: yaml2obj %s > %t-i386
5
# RUN: touch %t
6
# RUN: not llvm-nm %t-i386 %t %t-i386 | FileCheck %s
7
8
# CHECK: U foo
9
# CHECK: U foo
10
11
--- !ELF
12
FileHeader:
13
Class: ELFCLASS32
14
Data: ELFDATA2LSB
15
Type: ET_REL
16
Machine: EM_386
17
Symbols:
18
- Name: foo
19
Binding: STB_GLOBAL