Home | History | Annotate | Download | only in RISCV
      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 
      6 # CHECK-RVI:       Flags [ (0x0)
      7 # CHECK-RVI-NEXT:  ]
      8 
      9 # CHECK-RVIC:       Flags [ (0x1)
     10 # CHECK-RVIC-NEXT:    EF_RISCV_RVC (0x1)
     11 # CHECK-RVIC-NEXT:  ]
     12 
     13 nop
     14