1 # RUN: llvm-mc -filetype=obj -triple riscv32 %s -o %t.o
2 # RUN: llvm-readobj -r %t.o | FileCheck -check-prefix=CHECK %s
3 # RUN: llvm-dwarfdump --debug-frame %t.o 2>&1 \
4 # RUN: | FileCheck -check-prefix=CHECK-DWARFDUMP %s
6 # CHECK: .rela.eh_frame {
7 # CHECK-NEXT: 0x1C R_RISCV_32_PCREL <null> 0x0
9 # CHECK-DWARFDUMP: DW_CFA_advance_loc1: 104
10 # CHECK-DWARFDUMP-NEXT: DW_CFA_def_cfa_offset: +8
11 # CHECK-DWARFDUMP-NEXT: DW_CFA_advance_loc2: 259
12 # CHECK-DWARFDUMP-NEXT: DW_CFA_def_cfa_offset: +8
13 # CHECK-DWARFDUMP-NEXT: DW_CFA_advance_loc4: 65539
14 # CHECK-DWARFDUMP-NEXT: DW_CFA_def_cfa_offset: +8
16 .globl test # -- Begin function test