brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 991ae4d Raw
24 lines · plain
1# REQUIRES: x862 3# RUN: yaml2obj %S/Inputs/unwind-via-stack-cfi.yaml -o %t4# RUN: %lldb -c %t -o "target symbols add %S/Inputs/unwind-via-stack-cfi.syms" \5# RUN:   -s %s -b | FileCheck %s6 7image show-unwind -n bar8# CHECK-LABEL: image show-unwind -n bar9# CHECK: Asynchronous (not restricted to call-sites) UnwindPlan is 'breakpad STACK CFI'10# CHECK: Synchronous (restricted to call-sites) UnwindPlan is 'breakpad STACK CFI'11# CHECK:      Symbol file UnwindPlan:12# CHECK-NEXT: This UnwindPlan originally sourced from breakpad STACK CFI13# CHECK-NEXT: This UnwindPlan is sourced from the compiler: yes.14# CHECK-NEXT: This UnwindPlan is valid at all instruction locations: no.15# CHECK-NEXT: This UnwindPlan is for a trap handler function: no.16# CHECK-NEXT: Address range of this UnwindPlan: [unwind-via-stack-cfi..module_image + 1056-1097)17# CHECK-NEXT: row[0]: 0: CFA=DW_OP_breg6 +0, DW_OP_deref => rbp=DW_OP_pick 0x0, DW_OP_deref rsp=DW_OP_pick 0x0, DW_OP_consts +16, DW_OP_plus rip=DW_OP_pick 0x0, DW_OP_consts +8, DW_OP_plus, DW_OP_deref18 19thread backtrace20# CHECK-LABEL: thread backtrace21# CHECK: frame #0: 0x0000000000400430 unwind-via-stack-cfi`bar + 1622# CHECK: frame #1: 0x0000000000400497 unwind-via-stack-cfi`_start + 2323# CHECK-NOT: frame24