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
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-nm
/
X86
/
nm-no-symbols-local-only.yaml
blob
0a0887b13afcc0fa574839bd8d03b18c6a841ebd
1
## When a file contains only local symbols the "no symbols" error should not
2
## be shown, so we expect the output to be completely empty.
3
# RUN: yaml2obj %s -o %t.o
4
# RUN: llvm-nm %t.o 2>&1 | count 0
5
6
!ELF
7
FileHeader:
8
Class: ELFCLASS64
9
Data: ELFDATA2LSB
10
Type: ET_REL
11
Machine: EM_X86_64
12
Symbols:
13
- Name: foo.c
14
Type: STT_FILE
15
Index: SHN_ABS