1 # RUN: llvm-mc -triple=riscv32 -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
2 # RUN: llvm-mc -triple=riscv64 -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
3 # RUN: llvm-mc -triple=riscv32 -mattr=+c -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
4 # RUN: llvm-mc -triple=riscv64 -mattr=+c -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
5 # RUN: llvm-mc -triple=riscv32 -mattr=+e -filetype=obj < %s \
6 # RUN: | llvm-readobj --file-headers - \
7 # RUN: | FileCheck -check-prefix=CHECK-RVE %s
9 # CHECK-RVI: Flags [ (0x0)
12 # CHECK-RVIC: Flags [ (0x1)
13 # CHECK-RVIC-NEXT: EF_RISCV_RVC (0x1)
16 # CHECK-RVE: Flags [ (0x8)
17 # CHECK-RVE-NEXT: EF_RISCV_RVE (0x8)