brintos

brintos / llvm-project-archived public Read only

0
0
Text · 496 B · 3b9f400 Raw
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