16 lines · yaml
1## When a file contains only local symbols the "no symbols" error should not2## be shown, so we expect the output to be completely empty.3# RUN: yaml2obj %s -o %t.o4# RUN: llvm-nm %t.o 2>&1 | count 05 6!ELF7FileHeader:8 Class: ELFCLASS649 Data: ELFDATA2LSB10 Type: ET_REL11 Machine: EM_X86_6412Symbols:13 - Name: foo.c14 Type: STT_FILE15 Index: SHN_ABS16