brintos

brintos / llvm-project-archived public Read only

0
0
Text · 592 B · 08a2661 Raw
22 lines · plain
1# Test that symbol contexts for trap handler frames are set correctly even when2# the pc is at the start of the function.3 4# UNSUPPORTED: system-windows5# REQUIRES: target-x86_64, native6 7# RUN: %clang_host %p/Inputs/call-asm.c %p/Inputs/trap_frame_sym_ctx.s -o %t8# RUN: %lldb %t -s %s -o exit | FileCheck %s9 10settings append target.trap-handler-names tramp11 12breakpoint set -n bar13# CHECK: Breakpoint 1: where = {{.*}}`bar14 15process launch16# CHECK: stop reason = breakpoint 1.117 18thread backtrace -u19# CHECK: frame #0: {{.*}}`bar20# CHECK: frame #1: {{.*}}`tramp21# CHECK: frame #2: {{.*}}`main22