1 # This test that we are able to unwind using eh_frame in case an FDE entry does
2 # not cover the entire range of a function we are unwinding through.
4 # REQUIRES: target-x86_64, system-linux, native
6 # RUN: %clang_host %p/Inputs/eh-frame-small-fde.s -o %t
7 # RUN: %lldb %t -s %s -o exit | FileCheck %s
10 # CHECK: Breakpoint 1: where = {{.*}}`bar
13 # CHECK: stop reason = breakpoint 1.1
16 # CHECK: frame #0: {{.*}}`bar
17 # CHECK: frame #1: {{.*}}`foo + 6
18 # CHECK: frame #2: {{.*}}`main + 20
20 target modules show-unwind -n foo
21 # CHECK: eh_frame UnwindPlan:
22 # CHECK: row[0]: 0: CFA=rsp +8 => rip=r13