1# REQUIRES: arm
2
3# RUN: yaml2obj %s >%t
4# RUN: %lldb -c %t -o "target symbols add %S/Inputs/stack-cfi-arm.syms" \
5# RUN:   -o "image show-unwind -n func0" -b | FileCheck %s
6
7# CHECK:      Symbol file UnwindPlan:
8# CHECK:      row[0]:    0: CFA=DW_OP_breg13 +0, DW_OP_consts +0, DW_OP_plus  => pc=DW_OP_breg14 +0
9# CHECK-NEXT: row[1]:    2: CFA=DW_OP_breg13 +0, DW_OP_consts +8, DW_OP_plus  => r7=DW_OP_pick 0x00, DW_OP_consts -8, DW_OP_plus , DW_OP_deref  pc=DW_OP_pick 0x00, DW_OP_consts -4, DW_OP_plus , DW_OP_deref
10#
11
12--- !minidump
13Streams:
14  - Type:            ThreadList
15    Threads:
16      - Thread Id:       0x00003E81
17        Context:         DEAD
18        Stack:
19          Start of Memory Range: 0x00007FFCEB34A000
20          Content:         DEAD
21  - Type:            ModuleList
22    Modules:
23      - Base of Image:   0x0000000000400000
24        Size of Image:   0x00001000
25        Module Name:     '/tmp/stack-cfi-arm.out'
26        CodeView Record: 4C457042E35C283BC327C28762DB788BF5A4078BE2351448
27  - Type:            SystemInfo
28    Processor Arch:  ARM
29    Platform ID:     Linux
30    CPU:
31      CPUID:           0
32...
33