[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / yaml2obj / symbol-type.yaml
blob2eec6a46fd86c4c7a4b6874ce330cfe6bb0ada9b
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-readobj --symbols %t | FileCheck %s
4 # CHECK: Name: notype
5 # CHECK: Type: None
6 # CHECK: Name: normal_type
7 # CHECK: Type: Object
8 # CHECK: Name: .text
9 # CHECK: Type: Section
10 # CHECK: Name: known_hex
11 # CHECK: Type: Object
13 # CHECK: Name: unknown_hex_11
14 # CHECK: Type: OS Specific (0xB)
16 # CHECK: Name: known_int
17 # CHECK: Type: Object
18 # CHECK: Name: unknown_int
19 # CHECK: Type: OS Specific (0xB)
21 !ELF
22 FileHeader:
23   Class:           ELFCLASS64
24   Data:            ELFDATA2LSB
25   Type:            ET_REL
26   Machine:         EM_X86_64
27 Sections:
28   - Name: .text
29     Type: SHT_PROGBITS
30 Symbols:
31   - Name:    notype
32     Type:    STT_NOTYPE
33     Binding: STB_GLOBAL 
34   - Name:    normal_type
35     Type:    STT_OBJECT
36     Binding: STB_GLOBAL
37   - Name:    .text
38     Type:    STT_SECTION
39     Binding: STB_GLOBAL
40   - Name:    known_hex
41     Type:    0x1
42     Binding: STB_GLOBAL
43   - Name:    unknown_hex_11
44     Type:    0xb
45     Binding: STB_GLOBAL
46   - Name:    known_int
47     Type:    1
48     Binding: STB_GLOBAL
49   - Name:    unknown_int
50     Type:    11
51     Binding: STB_GLOBAL