17 lines · plain
1# RUN: llvm-mc --filetype=obj --triple=loongarch64 --mattr=-relax < %s \2# RUN: | llvm-readobj -r - | FileCheck %s3# RUN: llvm-mc --filetype=obj --triple=loongarch64 --mattr=+relax < %s \4# RUN: | llvm-readobj -r - | FileCheck %s5 6## Ensure that the eh_frame records the symbolic difference with7## the R_LARCH_32_PCREL relocation.8 9func:10 .cfi_startproc11 ret12 .cfi_endproc13 14# CHECK: Section ({{.*}}) .rela.eh_frame {15# CHECK-NEXT: 0x1C R_LARCH_32_PCREL .L{{.*}} 0x016# CHECK-NEXT: }17