[AArch64] Include test for out of range LD_PREL_LO19.

llvm-svn: 313846
This commit is contained in:
Davide Italiano 2017-09-21 00:16:29 +00:00
parent 08706542e9
commit 6fb3b428a4
1 changed files with 11 additions and 0 deletions

View File

@ -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: