llvm-project/lldb/lit/Unwind/unwind-plan-dwarf-dump.test

15 lines
441 B
Plaintext

# REQUIRES: target-x86_64, system-linux, native
# RUN: %clang %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