1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj --file-headers %t | FileCheck -check-prefix=OBJ %s
3 # RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
6 # OBJ-NEXT: EF_RISCV_FLOAT_ABI_DOUBLE (0x4)
7 # OBJ-NEXT: EF_RISCV_RVC (0x1)
8 # OBJ-NEXT: EF_RISCV_RVE (0x8)
9 # OBJ-NEXT: EF_RISCV_TSO (0x10)
13 # YAML-NEXT: Class: ELFCLASS32
14 # YAML-NEXT: Data: ELFDATA2LSB
15 # YAML-NEXT: Type: ET_EXEC
16 # YAML-NEXT: Machine: EM_RISCV
17 # YAML-NEXT: Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE, EF_RISCV_TSO ]
25 Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE, EF_RISCV_TSO ]