1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-nm --debug-syms %t.o | FileCheck %s --implicit-check-not {{.}} --check-prefix SYMBOL
3 # RUN: llvm-nm -a %t.o | FileCheck %s --implicit-check-not {{.}} --check-prefix SYMBOL
5 # SYMBOL: 0000000000000000 n $a
6 # SYMBOL-NEXT: 0000000000000000 n $d
7 # SYMBOL-NEXT: 0000000000000000 n $t
8 # SYMBOL-NEXT: 0000000000000000 a file_sym
9 # SYMBOL-NEXT: 0000000000000000 n section
11 # RUN: llvm-nm --debug-syms --dynamic %t.o | FileCheck %s --implicit-check-not {{.}} --check-prefix DYNSYM
13 # DYNSYM: 0000000000000000 N dynglobal
14 # DYNSYM-NEXT: 0000000000000000 n dynlocal