linux-packaging-mono/external/llvm/test/MC/ARM/modified-immediate-fixup-error.s
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +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)