mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
d68dfedd72
To improve consistency and avoid unneeded shell feature (output redirection). While here, make other changes to improve consistency --docnum 1 => --docnum=1 -docnum=x => --docnum=x
25 lines
796 B
YAML
25 lines
796 B
YAML
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-readobj --file-headers %t | FileCheck -check-prefix=OBJ %s
|
|
# RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
|
|
|
|
# OBJ: Flags [ (0xD)
|
|
# OBJ-NEXT: EF_RISCV_FLOAT_ABI_DOUBLE (0x4)
|
|
# OBJ-NEXT: EF_RISCV_RVC (0x1)
|
|
# OBJ-NEXT: EF_RISCV_RVE (0x8)
|
|
# OBJ-NEXT: ]
|
|
|
|
# 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 ]
|