llvm-mirror/test/MC/MachO/ARM/relax-thumb2-branches.s
NAKAMURA Takumi ed2be25205 test/MC: Introduce MC/MachO/ARM, and relocate relax-thumb2-branches.s into it.
FIXME: Restore more other arch-dependent MachO tests. (eg. r126401 and r133856)
llvm-svn: 145925
2011-12-06 06:48:26 +00:00

15 lines
336 B
ArmAsm

@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
ble Lfoo @ wide encoding
.space 258
Lfoo:
nop
ble Lbaz @ narrow encoding
.space 256
Lbaz:
@ CHECK: '_section_data', '40f38180
@ CHECK: 000000bf 7fdd