1# RUN: yaml2obj %s -o %t.o 2# RUN: llvm-nm %t.o --debug-syms --format=sysv | FileCheck %s -DFILE=%t.o --strict-whitespace 3# RUN: llvm-nm %t.o --debug-syms -fsysv | FileCheck %s -DFILE=%t.o --strict-whitespace 4# RUN: llvm-nm %t.o --debug-syms -f sysv | FileCheck %s -DFILE=%t.o --strict-whitespace 5 6!ELF 7FileHeader: 8 Class: ELFCLASS64 9 Data: ELFDATA2LSB 10 Type: ET_REL 11 Machine: EM_X86_64 12Sections: 13 - Name: .text 14 Type: SHT_PROGBITS 15 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 16Symbols: 17 - Name: symbol_with_a_significantly_longer_name 18 Section: .text 19 - Name: symbol 20 Section: .text 21 - Name: symbol_2 22 Type: STT_FUNC 23 24# CHECK: Symbols from [[FILE]]: 25# CHECK-EMPTY: 26# CHECK-NEXT: Name Value Class Type Size Line Section 27# CHECK-NEXT: symbol |0000000000000000| t | NOTYPE|0000000000000000| |.text 28# CHECK-NEXT: symbol_2 | | U | FUNC| | |*UND* 29# CHECK-NEXT: symbol_with_a_significantly_longer_name|0000000000000000| t | NOTYPE|0000000000000000| |.text 30