brintos

brintos / llvm-project-archived public Read only

0
0
Text · 746 B · 7b5d665 Raw
24 lines · plain
1# Test handing of dwarf expressions specifying the location of registers, if2# those expressions refer to the frame's CFA value.3 4# UNSUPPORTED: system-windows, ld_new-bug5# REQUIRES: target-x86_64, native6 7# RUN: %clang_host %p/Inputs/call-asm.c %p/Inputs/eh-frame-dwarf-unwind.s -o %t8# RUN: %lldb %t -s %s -o exit | FileCheck %s9 10breakpoint set -n bar11# CHECK: Breakpoint 1: where = {{.*}}`bar12 13process launch14# CHECK: stop reason = breakpoint 1.115 16thread backtrace17# CHECK: frame #0: {{.*}}`bar18# CHECK: frame #1: {{.*}}`foo + 519# CHECK: frame #2: {{.*}}`asm_main + 2220 21target modules show-unwind -n foo22# CHECK: eh_frame UnwindPlan:23# CHECK: row[0]: 0: CFA=rsp +8 => rip=DW_OP_lit8, DW_OP_minus, DW_OP_deref, DW_OP_const1u 0x47, DW_OP_minus24