mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
18 lines
576 B
YAML
18 lines
576 B
YAML
|
# RUN: yaml2obj %s > %t
|
||
|
# RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
|
||
|
|
||
|
# YAML: FileHeader:
|
||
|
# YAML-NEXT: Class: ELFCLASS32
|
||
|
# YAML-NEXT: Data: ELFDATA2LSB
|
||
|
# YAML-NEXT: Type: ET_EXEC
|
||
|
# YAML-NEXT: Machine: EM_RISCV
|
||
|
# YAML-NEXT: Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE ]
|
||
|
|
||
|
--- !ELF
|
||
|
FileHeader:
|
||
|
Class: ELFCLASS32
|
||
|
Data: ELFDATA2LSB
|
||
|
Type: ET_EXEC
|
||
|
Machine: EM_RISCV
|
||
|
Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE ]
|