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