1# REQUIRES: lld, arm
2
3# RUN: llvm-mc -triple=thumbv7-eabi %s -filetype=obj -o %t.o
4# RUN: ld.lld %t.o -o %t --section-start=.text=0x8074 -e 0x8075 -s
5# RUN: %lldb -x -b -o 'dis -s 0x8074 -e 0x8080' -- %t | FileCheck %s
6# CHECK:      {{.*}}[0x8074] <+0>: movs   r0, #0x2a
7# CHECK-NEXT: {{.*}}[0x8076] <+2>: movs   r7, #0x1
8# CHECK-NEXT: {{.*}}[0x8078] <+4>: svc    #0x0
9
10_start:
11    movs r0, #0x2a
12    movs r7, #0x1
13    svc #0x0