~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/MachO/ARM/llvm-objdump-macho.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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