[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / bkpt.s
blob14c0385fa0631de5ab00e23e2332a8cd948e3108
1 @ RUN: llvm-mc -triple armv7-unknown-unknown -filetype asm -o - %s | FileCheck %s
3 .syntax unified
4 .thumb
6 .global thumb_default_bkpt
7 .type thumb_default_bkpt, %function
8 .thumb_func
9 thumb_default_bkpt:
10 bkpt
12 @ CHECK-LABEL: thumb_default_bkpt
13 @ CHECK: bkpt #0
15 .global normal_bkpt
16 .type normal_bkpt, %function
17 normal_bkpt:
18 bkpt #42
20 @ CHECK-LABEL: normal_bkpt
21 @ CHECK: bkpt #42
23 .arm
25 .global arm_default_bkpt
26 .type arm_default_bkpt, %function
27 arm_default_bkpt:
28 bkpt
30 @ CHECK-LABEL: arm_default_bkpt
31 @ CHECK: bkpt #0