You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
653 B
18 lines
653 B
# 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: ********************
|
|
|
|
# RUN: %lldb -b --capture --capture-path %t.repro --reproducer-no-generate-on-signal -o 'reproducer xcrash -s SIGSEGV' | FileCheck %s --check-prefix NOHANDLER
|
|
|
|
# NOHANDLER-NOT: Crash reproducer
|
|
# NOHANDLER-NOT: Reproducer written
|