22 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 STL8# #2 user-code9# #3 STL10# #4 user-code11 12# UNSUPPORTED: system-windows13#14# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback.cpp -o %t.out15# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK16 17run18# CHECK: thread #{{.*}}stop reason = Failed: Invariant violated19frame info20# CHECK: frame #{{.*}}`g() at verbose_trap-in-stl-callback.cpp21q22