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