llvm/lldb/test/Shell/ObjectFile/ELF/riscv-arch.yaml

# RUN: yaml2obj --docnum=1 %s > %t32
# RUN: yaml2obj --docnum=2 %s > %t64
# RUN: lldb-test object-file %t32 | FileCheck --check-prefix=CHECK-RV32 %s
# RUN: lldb-test object-file %t64 | FileCheck --check-prefix=CHECK-RV64 %s

# CHECK-RV32: Architecture: riscv32--

--- !ELF
FileHeader:
  Class:           ELFCLASS32
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_RISCV
...

# CHECK-RV64: Architecture: riscv64--

--- !ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_RISCV
...