Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / RISCV / Inputs / cie-gnu.yaml
blob7e05636ef86ab2abdda6a2293f225013f68836dc
1 ## Compiled and stripped-down version of:
2 ## (riscv64-linux-gnu-gcc -nostdlib -static -Wl,-q cie-gnu.s)
3 #     .text
4 #     .globl _start
5 #     .type _start, @function
6 # _start:
7 #     .cfi_startproc
8 #     beq a0, a1, 1f
9 #     ret
10 # 1:
11 #     .cfi_undefined t0 # Arbitrary cfi command to force a new state
12 #     ret
13 #     .cfi_endproc
14 #     .size _start, .-_start
16 --- !ELF
17 FileHeader:
18   Class:           ELFCLASS64
19   Data:            ELFDATA2LSB
20   Type:            ET_EXEC
21   Machine:         EM_RISCV
22   Flags:           [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE ]
23   Entry:           0x10144
24 ProgramHeaders:
25   - Type:            PT_LOAD
26     Flags:           [ PF_X, PF_R ]
27     FirstSec:        .text
28     LastSec:         .eh_frame
29     VAddr:           0x10000
30     Align:           0x1000
31     Offset:          0x0
32 Sections:
33   - Name:            .text
34     Type:            SHT_PROGBITS
35     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
36     Address:         0x10144
37     AddressAlign:    0x2
38     Offset:          0x144
39     Content:         6303B50082808280
40   - Name:            .eh_frame
41     Type:            SHT_PROGBITS
42     Flags:           [ SHF_ALLOC ]
43     Address:         0x10150
44     AddressAlign:    0x8
45     Content:         1000000000000000037A5200017C01011B0D02001000000018000000D8FFFFFF0800000000460705
46   - Name:            .rela.text
47     Type:            SHT_RELA
48     Flags:           [ SHF_INFO_LINK ]
49     Link:            .symtab
50     AddressAlign:    0x8
51     Info:            .text
52     Relocations:
53       - Offset:          0x10144
54         Symbol:          ".L1\x021"
55         Type:            R_RISCV_BRANCH
56   - Name:            .rela.eh_frame
57     Type:            SHT_RELA
58     Flags:           [ SHF_INFO_LINK ]
59     Link:            .symtab
60     AddressAlign:    0x8
61     Info:            .eh_frame
62     Relocations:
63       - Offset:          0x1016C
64         Symbol:          '.L0 '
65         Type:            R_RISCV_32_PCREL
66       - Offset:          0x10170
67         Symbol:          '.L0  (1)'
68         Type:            R_RISCV_ADD32
69       - Offset:          0x10170
70         Symbol:          '.L0 '
71         Type:            R_RISCV_SUB32
72       - Offset:          0x10175
73         Symbol:          '.L0  (2)'
74         Type:            R_RISCV_SET6
75       - Offset:          0x10175
76         Symbol:          '.L0 '
77         Type:            R_RISCV_SUB6
78   - Type:            SectionHeaderTable
79     Sections:
80       - Name:            .text
81       - Name:            .rela.text
82       - Name:            .eh_frame
83       - Name:            .rela.eh_frame
84       - Name:            .symtab
85       - Name:            .strtab
86       - Name:            .shstrtab
87 Symbols:
88   - Name:            '$x'
89     Section:         .text
90     Value:           0x10144
91   - Name:            ".L1\x021"
92     Section:         .text
93     Value:           0x1014A
94   - Name:            '.L0 '
95     Section:         .text
96     Value:           0x10144
97   - Name:            '.L0  (1)'
98     Section:         .text
99     Value:           0x1014C
100   - Name:            '.L0  (2)'
101     Section:         .text
102     Value:           0x1014A
103   - Name:            _start
104     Type:            STT_FUNC
105     Section:         .text
106     Binding:         STB_GLOBAL
107     Value:           0x10144
108     Size:            0x8