linux-packaging-mono/external/llvm-project/llvm/test/MC/ARM/modified-immediate-fixup-error.s
Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

15 lines
252 B
ArmAsm

@ PR24346
@ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
.data
.align 8
L2:
.word 0
.align 8
.byte 0
L1:
.text
@ CHECK: error: out of range immediate fixup value
add r0, r0, #(L1 - L2)