forked from OSchip/llvm-project
[AArch64] Include test for out of range LD_PREL_LO19.
llvm-svn: 313846
This commit is contained in:
parent
08706542e9
commit
6fb3b428a4
|
@ -0,0 +1,11 @@
|
|||
# REQUIRES: aarch64
|
||||
|
||||
# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o
|
||||
# RUN: not ld.lld -shared %t.o -o %t 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK: relocation R_AARCH64_LD_PREL_LO19 out of range
|
||||
|
||||
ldr x8, patatino
|
||||
.data
|
||||
.zero 2000000
|
||||
patatino:
|
Loading…
Reference in New Issue