1# UNSUPPORTED: system-windows 2# 3# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\" 4# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-BOTH 5# 6# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\" 7# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-MESSAGE_ONLY 8# 9# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\" 10# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-CATEGORY_ONLY 11# 12# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\" 13# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-NONE 14 15run 16# CHECK-BOTH: thread #{{.*}}stop reason = Foo: Bar 17# CHECK-MESSAGE_ONLY: thread #{{.*}}stop reason = <empty category>: Bar 18# CHECK-CATEGORY_ONLY: thread #{{.*}}stop reason = Foo 19# CHECK-NONE: thread #{{.*}}stop reason = <empty category> 20frame info 21# CHECK: frame #{{.*}}`Dummy::func(this={{.*}}) at verbose_trap.cpp 22frame recognizer info 0 23# CHECK: frame 0 is recognized by Verbose Trap StackFrame Recognizer 24q 25