Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-lipo / info-invalid.test
blobe654fb0b3ff07879df023cc6f29934acd8c854c3
1 # RUN: yaml2obj %s -o %t
2 # RUN: not llvm-lipo %t -info 2>&1 | FileCheck %s
3 # CHECK: has unsupported binary format
5 --- !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2LSB
9   Type:            ET_DYN
10   Machine:         EM_X86_64
11   Entry:           0x0000000000001000
12 Sections:
13   - Name:            .gnu.version_d
14     Type:            SHT_GNU_verdef
15     Flags:           [ SHF_ALLOC ]
16     Address:         0x0000000000000230
17     Link:            .dynstr
18     AddressAlign:    0x0000000000000004
19     Info:            0x0000000000000003
20     Entries:
21       - Version:         1
22         Flags:           1
23         VersionNdx:      1
24         Hash:            123456789
25         Names:
26           - foo
27       - Version:         1
28         Flags:           2
29         VersionNdx:      2
30         Hash:            987654321
31         Names:
32           - VERSION_1
33           - VERSION_2
34 DynamicSymbols:
35   - Name:    bar
36     Binding: STB_GLOBAL
37 ...