summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Unwind/unwind-plan-dwarf-dump.test
blob: 67b482b2df917dc87c999a29cb47274db8ac418f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: target-x86_64, system-linux, native

# RUN: %clang_host %p/Inputs/unwind-plan-dwarf-dump.s -o %t
# RUN: %lldb %t -s %s -o exit | FileCheck %s

breakpoint set -n main
# CHECK: Breakpoint 1:

process launch
# CHECK: stop reason = breakpoint 1.1

target modules show-unwind -n main
# CHECK: eh_frame UnwindPlan:
# CHECK: row[0]:    0: CFA=DW_OP_breg7 +0, DW_OP_const1u 0x00, DW_OP_plus  => rip=DW_OP_const1s -8, DW_OP_plus , DW_OP_deref
OpenPOWER on IntegriCloud