Files
clang-p2996/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

13 lines
427 B
ArmAsm

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