1*ec9d62feSLeandro Lupori# UNSUPPORTED: system-windows 2*ec9d62feSLeandro Lupori# 38a27ef67SMichael Buch# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\" 48a27ef67SMichael Buch# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-BOTH 58a27ef67SMichael Buch# 68a27ef67SMichael Buch# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\" 78a27ef67SMichael Buch# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-MESSAGE_ONLY 88a27ef67SMichael Buch# 98a27ef67SMichael Buch# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\" 108a27ef67SMichael Buch# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-CATEGORY_ONLY 118a27ef67SMichael Buch# 128a27ef67SMichael Buch# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\" 138a27ef67SMichael Buch# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-NONE 148a27ef67SMichael Buch 158a27ef67SMichael Buchrun 168a27ef67SMichael Buch# CHECK-BOTH: thread #{{.*}}stop reason = Foo: Bar 178a27ef67SMichael Buch# CHECK-MESSAGE_ONLY: thread #{{.*}}stop reason = <empty category>: Bar 188a27ef67SMichael Buch# CHECK-CATEGORY_ONLY: thread #{{.*}}stop reason = Foo 198a27ef67SMichael Buch# CHECK-NONE: thread #{{.*}}stop reason = <empty category> 208a27ef67SMichael Buchframe info 218a27ef67SMichael Buch# CHECK: frame #{{.*}}`Dummy::func(this={{.*}}) at verbose_trap.cpp 228a27ef67SMichael Buchframe recognizer info 0 238a27ef67SMichael Buch# CHECK: frame 0 is recognized by Verbose Trap StackFrame Recognizer 248a27ef67SMichael Buchq 25