mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
[RISCV] Add missed test case for r314770
Differential Revision: https://reviews.llvm.org/D38311 Patch by https://reviews.llvm.org/D38311 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314771 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5533e5fbcb
commit
b02d7df9d9
17
test/Object/RISCV/elf-flags.yaml
Normal file
17
test/Object/RISCV/elf-flags.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
# 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 ]
|
2
test/Object/RISCV/lit.local.cfg
Normal file
2
test/Object/RISCV/lit.local.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
if not 'RISCV' in config.root.targets:
|
||||
config.unsupported = True
|
Loading…
Reference in New Issue
Block a user