# RUN: yaml2obj %s -o %t.o # RUN: llvm-nm --debug-syms %t.o | FileCheck %s --implicit-check-not {{.}} --check-prefix SYMBOL # RUN: llvm-nm -a %t.o | FileCheck %s --implicit-check-not {{.}} --check-prefix SYMBOL # SYMBOL: 0000000000000000 n $a # SYMBOL-NEXT: 0000000000000000 n $d # SYMBOL-NEXT: 0000000000000000 n $t # SYMBOL-NEXT: 0000000000000000 a file_sym # SYMBOL-NEXT: 0000000000000000 n section # RUN: llvm-nm --debug-syms --dynamic %t.o | FileCheck %s --implicit-check-not {{.}} --check-prefix DYNSYM # DYNSYM: 0000000000000000 N dynglobal # DYNSYM-NEXT: 0000000000000000 n dynlocal !ELF FileHeader: Class: ELFCLASS64 Data: ELFDATA2LSB Type: ET_REL Machine: EM_ARM Sections: - Name: section Type: SHT_PROGBITS Symbols: - Name: "" Type: STT_SECTION Section: section - Name: file_sym Type: STT_FILE Index: SHN_ABS - Name: $d Section: section - Name: $t Section: section - Name: $a Section: section DynamicSymbols: - Name: dynlocal Type: STT_OBJECT Section: section - Name: dynglobal Type: STT_OBJECT Binding: STB_GLOBAL Section: section