18 lines · plain
1@RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi -filetype=obj %s -o %t1 2> %t22@RUN: cat %t2 | FileCheck %s3@RUN: not llvm-mc -triple=armv7-darwin-apple -filetype=obj %s -o %t1_darwin 2> %t2_darwin4@RUN: cat %t2_darwin | FileCheck %s5 6@These tests look for errors that should be reported for invalid object layout7@with the ldr pseudo. They are tested separately from parse errors because they8@only trigger when the file has successfully parsed and the object file is about9@to be written out.10 11.text12foo:13 ldr r0, =0x1234567814 .space 800015@ CHECK: error: out of range pc-relative fixup value16@ CHECK: ldr r0, =0x1234567817@ CHECK: ^18