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