brintos

brintos / llvm-project-archived public Read only

0
0
Text · 923 B · 5d7ae12 Raw
23 lines · plain
1@ RUN: not llvm-mc -triple=armv7-apple-darwin < %s 2>&1 | FileCheck %s2 3@------------------------------------------------------------------------------4@ Branch targets destined for ARM mode must == 0 (mod 4), otherwise (mod 2).5@------------------------------------------------------------------------------6 7        b #28        bl #29        beq #210 11@ CHECK: error: invalid instruction, any one of the following would fix this:12@ CHECK:        b #213@ CHECK: note: invalid operand for instruction14@ CHECK: note: instruction requires: thumb15@ CHECK: error: invalid instruction, any one of the following would fix this:16@ CHECK:        bl #217@ CHECK: note: instruction requires: thumb18@ CHECK: note: invalid operand for instruction19@ CHECK: error: invalid instruction, any one of the following would fix this:20@ CHECK:        beq #221@ CHECK: note: invalid operand for instruction22@ CHECK: note: instruction requires: thumb23