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-windows5# UNSUPPORTED: system-darwin6# REQUIRES: target-x86_64, native7 8# RUN: %clang_host %p/Inputs/call-asm.c %p/Inputs/eh-frame-augment-noop.s -o %t9# RUN: %lldb %t -s %s -o exit | FileCheck %s10 11process launch12# CHECK: stop reason13 14thread backtrace15# CHECK: frame #0: {{.*}}`foo + 216# CHECK: frame #1: {{.*}}`asm_main + 517 18target modules show-unwind -n foo19# CHECK: Asynchronous (not restricted to call-sites) UnwindPlan is 'eh_frame CFI'20# CHECK: eh_frame augmented UnwindPlan:21# CHECK: row[0]: 0: CFA=rsp +8 => rip=[CFA-8]22# CHECK-NEXT: row[1]: 1: CFA=rsp+16 => rip=[CFA-8]23# CHECK-NEXT: row[2]: 3: CFA=rsp +8 => rip=[CFA-8]24