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)
12 # YAML-NEXT: Class: ELFCLASS32
13 # YAML-NEXT: Data: ELFDATA2LSB
14 # YAML-NEXT: Type: ET_EXEC
15 # YAML-NEXT: Machine: EM_RISCV
16 # YAML-NEXT: Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE ]
24 Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE ]