• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: llvm-mc -triple=thumbv7-apple-ios -filetype=obj -o - < %s | llvm-objdump -d --macho --triple=thumbv7-apple-ios - | FileCheck %s
2.thumb
3.thumb_func _fib
4_fib:
5	push	{r7, lr}
6	pop	{r7, pc}
7.thumb_func _main
8_main:
9	push	{r7, lr}
10        pop	{r7, pc}
11	nop
12# CHECK: _fib:
13# CHECK:        0:	80 b5                                        	push	{r7, lr}
14# CHECK:        2:	80 bd                                        	pop	{r7, pc}
15# CHECK: _main:
16# CHECK:        4:	80 b5                                        	push	{r7, lr}
17# CHECK:        6:	80 bd                                        	pop	{r7, pc}
18# CHECK:        8:	00 bf                                        	nop
19# We are checking that second function is fully disassembled.
20# rdar://11426465
21