ARM: implement support for the UDF mnemonic
[oota-llvm.git] / test / MC / ARM / bkpt.s
1 @ RUN: llvm-mc -triple armv7-unknown-unknown -filetype asm -o - %s | FileCheck %s
2
3         .syntax unified
4         .thumb
5
6         .global thumb_default_bkpt
7         .type thumb_default_bkpt, %function
8         .thumb_func
9 thumb_default_bkpt:
10         bkpt
11
12 @ CHECK-LABEL: thumb_default_bkpt
13 @ CHECK: bkpt #0
14
15         .global normal_bkpt
16         .type normal_bkpt, %function
17 normal_bkpt:
18         bkpt #42
19
20 @ CHECK-LABEL: normal_bkpt
21 @ CHECK: bkpt #42
22
23         .arm
24
25         .global arm_default_bkpt
26         .type arm_default_bkpt, %function
27 arm_default_bkpt:
28         bkpt
29
30 @ CEHCK-LABEL: arm_default_bkpt
31 @ CHECK: bkpt #0
32