1 ## Check that we print 'u' for unique symbols
2 ## and 'U' for a unique symbol without a section.
3 # RUN: yaml2obj %s | llvm-nm - | FileCheck %s
16 - Name: .progbits_alloc
19 - Name: .progbits_alloc_write
21 Flags: [SHF_ALLOC, SHF_WRITE]
22 - Name: .progbits_execinstr
24 Flags: [SHF_EXECINSTR]
27 Binding: STB_GNU_UNIQUE
30 Binding: STB_GNU_UNIQUE
33 Binding: STB_GNU_UNIQUE
34 - Name: progbits_alloc
35 Section: .progbits_alloc
36 Binding: STB_GNU_UNIQUE
37 - Name: progbits_alloc_write
38 Section: .progbits_alloc_write
39 Binding: STB_GNU_UNIQUE
40 - Name: progbits_execinstr
41 Section: .progbits_execinstr
42 Binding: STB_GNU_UNIQUE
45 # CHECK: 0000000000000000 u nobits
47 # CHECK: 0000000000000000 u progbits
48 # CHECK: 0000000000000000 u progbits_alloc
49 # CHECK: 0000000000000000 u progbits_alloc_write
50 # CHECK: 0000000000000000 u progbits_execinstr