21 lines · plain
1# RUN: llvm-mc --triple=riscv32-unknown-none-elf %s -filetype=obj -o - \2# RUN: | llvm-objdump -dr - \3# RUN: | FileCheck %s4# RUN: llvm-mc --triple=riscv64-unknown-none-elf %s -filetype=obj -o - \5# RUN: | llvm-objdump -dr - \6# RUN: | FileCheck %s7 8 9 # CHECK: 00000013 nop10 nop11 12 # CHECK-NEXT: 55 55 55 55 .word 0x5555555513 .word 0x5555555514 15 # CHECK-NEXT: 00 00 00 00 .word 0x0000000016 # CHECK-NEXT: R_RISCV_32 foo17 .word foo18 19 # CHECK-NEXT: 00000013 nop20 nop21