mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
f759032ccd
file with -macho, the Mach-O specific object file parser option. After some discussion I chose to do this implementation contained in the logic of llvm-objdump’s MachODump.cpp using a second disassembler for thumb when needed and with updates mostly contained in the MachOObjectFile class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215931 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
225 B
Plaintext
16 lines
225 B
Plaintext
@ RUN: llvm-mc < %s -triple armv7-apple-darwin -filetype=obj | llvm-objdump -m -d - | FileCheck %s
|
|
|
|
.thumb
|
|
.thumb_func _t
|
|
_t:
|
|
nop
|
|
nop
|
|
.align 2
|
|
.arm
|
|
_a:
|
|
nop
|
|
|
|
@ CHECK: 00 bf nop
|
|
@ CHECK-NEXT: 00 bf nop
|
|
@ CHECK: 00 f0 20 e3 nop
|