1# Tests that we show the first non-STL frame when 2# a verbose_trap triggers from within the STL. 3# 4# Specifically tests that we correctly handle backtraces 5# of the form: 6# #0 __builtin_verbose_trap 7# #1 user-code 8# #2 STL 9# #3 user-code 10# #4 STL 11# #5 user-code 12 13# UNSUPPORTED: system-windows 14# 15# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback-user-leaf.cpp -o %t.out 16# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK 17 18run 19# CHECK: thread #{{.*}}stop reason = User: Invariant violated 20frame info 21# CHECK: frame #{{.*}}`definitely_aborts() at verbose_trap-in-stl-callback-user-leaf.cpp 22q 23