llvm-for-llvmta/test/MC/ARM/thumb1-relax-8m-baseline.s

11 lines
413 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
@ RUN: not llvm-mc -triple thumbv6m-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-V6M
@ RUN: llvm-mc -triple thumbv8m.base-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-V8MBASE --allow-empty
@ CHECK-V8MBASE-NOT: out of range pc-relative fixup value
@ CHECK-V6M: out of range pc-relative fixup value
b Lfar2
.space 2050
Lfar2:
.word 42