Kostya Serebryany | 33fb36c | 2017-08-22 01:50:00 +0000 | [diff] [blame] | 1 | # Test that we can find a stack overflow |
George Karpenkov | 52a3e48 | 2017-08-28 20:10:30 +0000 | [diff] [blame^] | 2 | REQUIRES: linux |
Matt Morehouse | 6ec7595 | 2017-08-25 22:01:21 +0000 | [diff] [blame] | 3 | RUN: %cpp_compiler -fsanitize-coverage=stack-depth %S/DeepRecursionTest.cpp -o %t |
Matt Morehouse | b1fa825 | 2017-08-22 21:28:29 +0000 | [diff] [blame] | 4 | RUN: not %t -seed=1 -runs=100000000 2>&1 | FileCheck %s |
5 | CHECK: ERROR: libFuzzer: deadly signal |