bolt/deps/llvm-18.1.8/llvm/test/MC/LoongArch/Relocations/fde-reloc.s

15 lines
354 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# RUN: llvm-mc --filetype=obj --triple=loongarch64 < %s \
# RUN: | llvm-readobj -r - | FileCheck %s
## Ensure that the eh_frame records the symbolic difference with
## the R_LARCH_32_PCREL relocation.
func:
.cfi_startproc
ret
.cfi_endproc
# CHECK: Section (4) .rela.eh_frame {
# CHECK-NEXT: 0x1C R_LARCH_32_PCREL .text 0x0
# CHECK-NEXT: }