xref: /llvm-project/lldb/test/Shell/Recognizer/verbose_trap-in-stl-max-depth.test (revision bca507387ae1945137214ec7fb80b709927ee6e8)
1# Tests that the VerboseTrapFrameRecognizer stops
2# walking the stack once a certain implementation-defined
3# threshold is reached.
4
5# UNSUPPORTED: system-windows
6#
7# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-max-depth.cpp -o %t.out
8# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK
9
10run
11# CHECK: thread #{{.*}}stop reason =
12frame recognizer info 0
13# CHECK: frame 0 is recognized by Verbose Trap StackFrame Recognizer
14frame info
15# CHECK: frame #0: {{.*}}`std::recursively_aborts(int) {{.*}} at verbose_trap-in-stl-max-depth.cpp
16q
17