1 # Test that symbol contexts for trap handler frames are set correctly even when
2 # the pc is at the start of the function.
4 # UNSUPPORTED: system-windows
5 # REQUIRES: target-x86_64, native
7 # RUN: %clang_host %p/Inputs/call-asm.c %p/Inputs/trap_frame_sym_ctx.s -o %t
8 # RUN: %lldb %t -s %s -o exit | FileCheck %s
10 settings append target.trap-handler-names tramp
13 # CHECK: Breakpoint 1: where = {{.*}}`bar
16 # CHECK: stop reason = breakpoint 1.1
19 # CHECK: frame #0: {{.*}}`bar
20 # CHECK: frame #1: {{.*}}`tramp
21 # CHECK: frame #2: {{.*}}`main