xref: /llvm-project/lldb/test/Shell/Recognizer/assert.test (revision 7b5dc63fc4464e777e4210a68120b36cb283a9fd)
1# XFAIL: system-freebsd
2# XFAIL: system-netbsd
3#
4# llvm.org/pr56144
5# UNSUPPORTED: system-linux
6#
7# UNSUPPORTED: system-windows
8# RUN: %clang_host -g -O0 %S/Inputs/assert.c -o %t.out
9# RUN: %lldb -b -s %s %t.out | FileCheck %s
10run
11# CHECK: thread #{{.*}}stop reason = hit program assert
12# CHECK: frame #{{.*}}`main at assert.c
13frame recognizer info 0
14# CHECK: frame 0 is recognized by Assert StackFrame Recognizer
15set set thread-format "{${thread.stop-reason-raw}}\n"
16thread info
17# CHECK: signal SIGABRT
18q
19