1 ## Check obj2yaml is able to dump the Visibility field correctly.
3 # RUN: yaml2obj %s | obj2yaml - | FileCheck %s
6 # CHECK-NEXT: FileHeader:
7 # CHECK-NEXT: Class: ELFCLASS64
8 # CHECK-NEXT: Data: ELFDATA2LSB
9 # CHECK-NEXT: Type: ET_REL
10 # CHECK-NEXT: Machine: EM_X86_64
11 # CHECK-NEXT: Symbols:
12 # CHECK-NEXT: - Name: default
13 # CHECK-NEXT: - Name: internal
14 # CHECK-NEXT: Other: [ STV_INTERNAL ]
15 # CHECK-NEXT: - Name: hidden
16 # CHECK-NEXT: Other: [ STV_HIDDEN ]
17 # CHECK-NEXT: - Name: protected
18 # CHECK-NEXT: Other: [ STV_PROTECTED ]
29 Other: [ STV_DEFAULT ]
31 Other: [ STV_INTERNAL ]
35 Other: [ STV_PROTECTED ]