You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
367 B
16 lines
367 B
## When a file contains only local symbols the "no symbols" error should not
|
|
## be shown, so we expect the output to be completely empty.
|
|
# RUN: yaml2obj %s -o %t.o
|
|
# RUN: llvm-nm %t.o 2>&1 | count 0
|
|
|
|
!ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|
|
Symbols:
|
|
- Name: foo.c
|
|
Type: STT_FILE
|
|
Index: SHN_ABS
|