| # XFAIL: system-freebsd |
| # XFAIL: system-netbsd |
| # |
| # llvm.org/pr56144 |
| # system-linux only covers a Linux host; remote-linux catches the bots which |
| # debug a Linux target from another host. |
| # UNSUPPORTED: system-linux, remote-linux |
| # |
| # https://github.com/llvm/llvm-project/issues/224600 |
| # ObjectFilePECOFF does not support ARM64 .pdata/.xdata. |
| # UNSUPPORTED: target-windows && target-aarch64 |
| # |
| # RUN: %clang_host -g -O0 %S/Inputs/assert.c -o %t.out |
| # RUN: %lldb -b -s %s %t.out | FileCheck %s |
| run |
| # CHECK: thread #{{.*}}stop reason = hit program assert |
| # CHECK: frame #{{.*}}`main at assert.c |
| frame recognizer info 0 |
| # CHECK: frame 0 is recognized by Assert StackFrame Recognizer |
| set set thread-format "{${thread.stop-reason-raw}}\n" |
| thread info |
| # CHECK: {{(signal SIGABRT|Exception 0x[0-9a-fA-F]+)}} |
| q |