Mercurial > hg > CbC > CbC_llvm
view test/MC/MachO/ARM/llvm-objdump-macho.s @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
@ RUN: llvm-mc -triple=thumbv7-apple-ios -filetype=obj -o - < %s | llvm-objdump -d -macho -triple=thumbv7-apple-ios - | FileCheck %s .thumb .thumb_func _fib _fib: push {r7, lr} pop {r7, pc} .thumb_func _main _main: push {r7, lr} pop {r7, pc} nop # CHECK: _fib: # CHECK: 0: 80 b5 push {r7, lr} # CHECK: 2: 80 bd pop {r7, pc} # CHECK: _main: # CHECK: 4: 80 b5 push {r7, lr} # CHECK: 6: 80 bd pop {r7, pc} # CHECK: 8: 00 bf nop # We are checking that second function is fully disassembled. # rdar://11426465