unwind-plan-dwarf-dump.test
446 Bytes
# 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