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

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

# CHECK-LA32: Architecture: loongarch32--

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

# CHECK-LA64: Architecture: loongarch64--

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