1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj -V %t | FileCheck %s
4 # Check we are able to handle the SHT_GNU_verneed sections.
6 # CHECK: SHT_GNU_verneed {
7 # CHECK-NEXT: Dependency {
8 # CHECK-NEXT: Version: 1
10 # CHECK-NEXT: FileName: dso.so.0
11 # CHECK-NEXT: Entries [
13 # CHECK-NEXT: Hash: 1937
14 # CHECK-NEXT: Flags: 0xA
15 # CHECK-NEXT: Index: 3
16 # CHECK-NEXT: Name: v1
19 # CHECK-NEXT: Hash: 1938
20 # CHECK-NEXT: Flags: 0xB
21 # CHECK-NEXT: Index: 4
22 # CHECK-NEXT: Name: v2
26 # CHECK-NEXT: Dependency {
27 # CHECK-NEXT: Version: 1
28 # CHECK-NEXT: Count: 1
29 # CHECK-NEXT: FileName: dso.so.1
30 # CHECK-NEXT: Entries [
32 # CHECK-NEXT: Hash: 1939
33 # CHECK-NEXT: Flags: 0xC
34 # CHECK-NEXT: Index: 2
35 # CHECK-NEXT: Name: v3
47 Entry: 0x0000000000201000
49 - Name: .gnu.version_r
52 Address: 0x0000000000200250
54 AddressAlign: 0x0000000000000004
55 Info: 0x0000000000000002