[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / ARM / eh-directive-movsp.s
blobd790c447b0b5fe71fc9cb0eb1d2fa53dd780c64b
1 @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
2 @ RUN: | llvm-readobj -S --sd - \
3 @ RUN: | FileCheck %s
5 .syntax unified
6 .thumb
8 .section .duplicate
10 .global duplicate
11 .type duplicate,%function
12 duplicate:
13 .fnstart
14 .setfp sp, sp, #8
15 add sp, sp, #8
16 .movsp r11
17 mov r11, sp
18 .fnend
20 @ CHECK: Section {
21 @ CHECK: Name: .ARM.exidx.duplicate
22 @ CHECK: SectionData (
23 @ CHECK: 0000: 00000000 B09B9B80
24 @ CHECK: )
25 @ CHECK: }
28 .section .squash
30 .global squash
31 .type squash,%function
32 squash:
33 .fnstart
34 .movsp ip
35 mov ip, sp
36 .save {fp, ip, lr}
37 stmfd sp!, {fp, ip, lr}
38 .fnend
40 @ CHECK: Section {
41 @ CHECK: Name: .ARM.exidx.squash
42 @ CHECK: SectionData (
43 @ CHECK: 0000: 00000000 9C808580
44 @ CHECK: )
45 @ CHECK: }