Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / obj2yaml / ELF / riscv-sym-other.yaml
blob0172c3a7bf638b61641a42d4646aaa97571506b0
1 ## Check RISC-V st_other extension support.
3 # RUN: yaml2obj %s -o %t
4 # RUN: obj2yaml %t | FileCheck %s
6 # CHECK: Symbols:
7 # CHECK:  - Name:  foo1
8 # CHECK:    Other: [ STO_RISCV_VARIANT_CC ]
9 # CHECK:  - Name:  foo2
10 # CHECK:    Other: [ STO_RISCV_VARIANT_CC, 64 ]
12 --- !ELF
13 FileHeader:
14   Class:   ELFCLASS64
15   Data:    ELFDATA2LSB
16   Type:    ET_REL
17   Machine: EM_RISCV
18 Symbols:
19   - Name:  foo1
20     Other: [ STO_RISCV_VARIANT_CC ]
21   - Name:  foo2
22     Other: [ STO_RISCV_VARIANT_CC, 0x40 ]