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 4 5# OBJ: Flags [ (0xD) 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: ] 10 11# YAML: FileHeader: 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 ] 17 18--- !ELF 19FileHeader: 20 Class: ELFCLASS32 21 Data: ELFDATA2LSB 22 Type: ET_EXEC 23 Machine: EM_RISCV 24 Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE ] 25