brintos

brintos / llvm-project-archived public Read only

0
0
Text · 708 B · d86d41f Raw
24 lines · plain
1# This test that we are able to unwind using eh_frame in case an FDE entry does2# not cover the entire range of a function we are unwinding through.3 4# REQUIRES: target-x86_64, system-linux, native5 6# RUN: %clang_host %p/Inputs/eh-frame-small-fde.s -o %t7# RUN: %lldb %t -s %s -o exit | FileCheck %s8 9breakpoint set -n bar10# CHECK: Breakpoint 1: where = {{.*}}`bar11 12process launch13# CHECK: stop reason = breakpoint 1.114 15thread backtrace16# CHECK: frame #0: {{.*}}`bar17# CHECK: frame #1: {{.*}}`foo + 2118# CHECK: frame #2: {{.*}}`main + 2019 20target modules show-unwind -n foo21# CHECK:      eh_frame UnwindPlan:22# CHECK:      row[0]:   16: CFA=rsp +8 => rip=r1323# CHECK-NEXT: row[1]:   27: CFA=rsp +8 => rip=r1424