1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj -V %t | FileCheck %s
4 # Check we are able to handle the SHT_GNU_verdef sections.
6 # CHECK: SHT_GNU_verdef {
7 # CHECK-NEXT: Definition {
8 # CHECK-NEXT: Version: 1
9 # CHECK-NEXT: Flags: Base
10 # CHECK-NEXT: Index: 1
11 # CHECK-NEXT: Hash: 170240160
12 # CHECK-NEXT: Name: dso.so.0
14 # CHECK-NEXT: Definition {
15 # CHECK-NEXT: Version: 1
16 # CHECK-NEXT: Flags: Weak
17 # CHECK-NEXT: Index: 2
18 # CHECK-NEXT: Hash: 108387921
19 # CHECK-NEXT: Name: VERSION_1
21 # CHECK-NEXT: Definition {
22 # CHECK-NEXT: Version: 1
23 # CHECK-NEXT: Flags: 0x3
24 # CHECK-NEXT: Index: 3
25 # CHECK-NEXT: Hash: 108387922
26 # CHECK-NEXT: Name: VERSION_2
27 # CHECK-NEXT: Predecessor: VERSION_3
37 Entry: 0x0000000000001000
39 - Name: .gnu.version_d
42 Address: 0x0000000000000230
44 AddressAlign: 0x0000000000000004
45 Info: 0x0000000000000003