1c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines//RUN: not llvm-mc -triple=aarch64-linux -filetype=obj %s -o %t1 2> %t2 2c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines//RUN: cat %t2 | FileCheck %s 3c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines 4c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines//These tests look for errors that should be reported for invalid object layout 5c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines//with the ldr pseudo. They are tested separately from parse errors because they 6c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines//only trigger when the file has successfully parsed and the object file is about 7c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines//to be written out. 8c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines 9c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines.text 10c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hinesfoo: 11c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines ldr x0, =0x10111 12c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines .space 0xdeadb0 13c6a4f5e819217e1e12c458aed8e7b122e23a3a58Stephen Hines// CHECK: LVM ERROR: fixup value out of range 14