llvm-for-llvmta/test/MC/AArch64/armv8.5a-bti-error.s

13 lines
304 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+bti < %s 2>&1 | FileCheck %s
bti cj
bti a
bti x0
// CHECK: invalid operand for instruction
// CHECK-NEXT: cj
// CHECK: invalid operand for instruction
// CHECK-NEXT: a
// CHECK: invalid operand for instruction
// CHECK-NEXT: x0