[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-readobj / elf-hidden-versym.test
blob0dcee4ab09d70ead5e9379f942499328cb74d5e1
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readelf -V %t | FileCheck %s --check-prefix=HIDDEN
4 # HIDDEN:      Version symbols section '.gnu.version' contains 2 entries:
5 # HIDDEN-NEXT:  Addr: 0000000000200210  Offset: 0x000040  Link: 5 (.dynsym)
6 # HIDDEN-NEXT:   000:   0 (*local*)       3h(hiddensym)
8 --- !ELF
9 FileHeader:
10   Class:             ELFCLASS64
11   Data:              ELFDATA2LSB
12   Type:              ET_EXEC
13   Machine:           EM_X86_64
14   Entry:             0x0000000000201000
15 Sections:
16   - Name:            .gnu.version
17     Type:            SHT_GNU_versym
18     Flags:           [ SHF_ALLOC ]
19     Address:         0x0000000000200210
20     Link:            .dynsym
21     AddressAlign:    0x0000000000000002
22     EntSize:         0x0000000000000002
23     Entries:         [ 0, 0x8003 ]
24   - Name:            .gnu.version_r
25     Type:            SHT_GNU_verneed
26     Flags:           [ SHF_ALLOC ]
27     Address:         0x0000000000200250
28     Link:            .dynstr
29     AddressAlign:    0x0000000000000004
30     Info:            0x0000000000000001
31     Dependencies:
32       - Version:     1
33         File:        somefile
34         Entries:
35           - Name:    hiddensym
36             Hash:    1234
37             Flags:   0
38             Other:   3
39 DynamicSymbols:
40   - Name:          h
41     Binding:       STB_GLOBAL
42 ...