bolt/deps/llvm-18.1.8/llvm/test/MC/ARM/t2-modified-immediate-fixup-error1.s
2025-02-14 19:21:04 +01:00

13 lines
360 B
ArmAsm

@ PR28647
@ RUN: not llvm-mc -triple=thumbv7a-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
.text
.syntax unified
.balign 2
@ Error with unencodeable immediate
add r1, r2, sym0
@ CHECK: error: out of range immediate fixup value
.equ sym0, 0x01abcdef
.L2:
mov r0, .L2
@ CHECK: :[[#@LINE-1]]:5: error: unsupported relocation type