repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
Object
/
nm-error.test
blob
dfcaae98ddea2570c2a8bb8bd92bbe68d491cc47
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 -o %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