23 lines · plain
1# Tests that we show the first non-STL frame when2# a verbose_trap triggers from within the STL.3#4# Specifically tests that we correctly handle backtraces5# of the form:6# #0 __builtin_verbose_trap7# #1 user-code8# #2 STL9# #3 user-code10# #4 STL11# #5 user-code12 13# UNSUPPORTED: system-windows14#15# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback-user-leaf.cpp -o %t.out16# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK17 18run19# CHECK: thread #{{.*}}stop reason = User: Invariant violated20frame info21# CHECK: frame #{{.*}}`definitely_aborts() at verbose_trap-in-stl-callback-user-leaf.cpp22q23