1 # RUN: yaml2obj %s -o %t
2 # RUN: obj2yaml %t | FileCheck %s
4 ## Check obj2yaml is able to dump the STB_GNU_UNIQUE symbol.
7 # CHECK-NEXT: FileHeader:
8 # CHECK-NEXT: Class: ELFCLASS64
9 # CHECK-NEXT: Data: ELFDATA2LSB
10 # CHECK-NEXT: OSABI: ELFOSABI_GNU
11 # CHECK-NEXT: Type: ET_REL
12 # CHECK-NEXT: Machine: EM_X86_64
13 # CHECK-NEXT: Symbols:
14 # CHECK-NEXT: - Name: foo
15 # CHECK-NEXT: Type: STT_OBJECT
16 # CHECK-NEXT: Binding: STB_GNU_UNIQUE
29 Binding: STB_GNU_UNIQUE