[ARM] Rewrite how VCMP are lowered, using a single node
[llvm-core.git] / test / tools / obj2yaml / verdef-section.yaml
blob29e492c0ad4b88d7fe2731888f88ac29c0f022ee
1 # RUN: yaml2obj %s -o %t
2 # RUN: obj2yaml %t | FileCheck %s
4 ## Check we are able to yamalize SHT_GNU_verdef section.
6 # CHECK:       - Name:            .gnu.version_d
7 # CHECK-NEXT:     Type:            SHT_GNU_verdef
8 # CHECK-NEXT:     Flags:           [ SHF_ALLOC ]
9 # CHECK-NEXT:     Address:         0x0000000000000230
10 # CHECK-NEXT:     Link:            .dynstr
11 # CHECK-NEXT:     AddressAlign:    0x0000000000000004
12 # CHECK-NEXT:     Info:            0x0000000000000004
13 # CHECK-NEXT:     Entries:
14 # CHECK-NEXT:       - Version:         1
15 # CHECK-NEXT:         Flags:           1
16 # CHECK-NEXT:         VersionNdx:      1
17 # CHECK-NEXT:         Hash:            170240160
18 # CHECK-NEXT:         Names:
19 # CHECK-NEXT:           - dso.so.0
20 # CHECK-NEXT:       - Version:         1
21 # CHECK-NEXT:         Flags:           2
22 # CHECK-NEXT:         VersionNdx:      2
23 # CHECK-NEXT:         Hash:            108387921
24 # CHECK-NEXT:         Names:
25 # CHECK-NEXT:           - VERSION_1
26 # CHECK-NEXT:       - Version:         1
27 # CHECK-NEXT:         Flags:           3
28 # CHECK-NEXT:         VersionNdx:      3
29 # CHECK-NEXT:         Hash:            108387922
30 # CHECK-NEXT:         Names:
31 # CHECK-NEXT:           - VERSION_2
32 # CHECK-NEXT:           - VERSION_3
34 --- !ELF
35 FileHeader:
36   Class:           ELFCLASS64
37   Data:            ELFDATA2LSB
38   Type:            ET_DYN
39   Machine:         EM_X86_64
40   Entry:           0x0000000000001000
41 Sections:
42   - Name:            .gnu.version_d
43     Type:            SHT_GNU_verdef
44     Flags:           [ SHF_ALLOC ]
45     Address:         0x0000000000000230
46     Link:            .dynstr
47     AddressAlign:    0x0000000000000004
48     Info:            0x0000000000000004
49     Entries:
50       - Version:         1
51         Flags:           1
52         VersionNdx:      1
53         Hash:            170240160
54         Names:
55           - dso.so.0
56       - Version:         1
57         Flags:           2
58         VersionNdx:      2
59         Hash:            108387921
60         Names:
61           - VERSION_1
62       - Version:         1
63         Flags:           3
64         VersionNdx:      3
65         Hash:            108387922
66         Names:
67           - VERSION_2
68           - VERSION_3
69 DynamicSymbols:
70   - Name:    foo
71     Binding: STB_GLOBAL
72 ...