Files
clang-p2996/lldb/test/Shell/Reproducer/TestCrash.test
Jonas Devlieghere 25f33d8318 [Reproducer] Limit signals to macro define sin <csignal>
SIGBUS is not part of the signal macros defined in the header <csignal>.
2019-11-20 14:28:37 -08:00

14 lines
452 B
Plaintext

# UNSUPPORTED: system-windows
# This tests that a reproducer is generated when LLDB crashes.
# Start clean.
# RUN: rm -rf %t.repro
# RUN: %lldb -b --capture --capture-path %t.repro -o 'reproducer xcrash -s SIGSEGV' | FileCheck %s
# RUN: %lldb -b --capture --capture-path %t.repro -o 'reproducer xcrash -s SIGILL' | FileCheck %s
# CHECK: ********************
# CHECK: Crash reproducer for
# CHECK: Reproducer written to
# CHECK: ********************