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 STL 8# #2 user-code 9# #3 STL 10# #4 user-code 11 12# UNSUPPORTED: system-windows 13# 14# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback.cpp -o %t.out 15# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK 16 17run 18# CHECK: thread #{{.*}}stop reason = Failed: Invariant violated 19frame info 20# CHECK: frame #{{.*}}`g() at verbose_trap-in-stl-callback.cpp 21q 22