summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Reproducer/TestCrash.test
blob: cb0c09aad141438818c14a4e7be88a74cea90305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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: ********************
OpenPOWER on IntegriCloud