| # Tests that the VerboseTrapFrameRecognizer stops |
| # walking the stack once a certain implementation-defined |
| # threshold is reached. |
| |
| # UNSUPPORTED: system-windows |
| # |
| # RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-max-depth.cpp -o %t.out |
| # RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK |
| |
| run |
| # CHECK: thread #{{.*}}stop reason = |
| frame recognizer info 0 |
| # CHECK: frame 0 is recognized by Verbose Trap StackFrame Recognizer |
| frame info |
| # CHECK: frame #0: {{.*}}`__clang_trap_msg$Error$max depth at verbose_trap-in-stl-max-depth.cpp |
| q |