[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
Summary:
Don't sanitize __sancov_lowest_stack.
Don't instrument leaf functions.
Add CoverageStackDepth to Fuzzer and FuzzerNoLink.
Reviewers: vitalybuka, kcc
Subscribers: cfe-commits, llvm-commits, hiraditya
# Test that we can find a stack overflow
-RUN: %cpp_compiler -fsanitize-coverage=stack-depth %S/DeepRecursionTest.cpp -o %t
+RUN: %cpp_compiler %S/DeepRecursionTest.cpp -o %t
RUN: not %t -seed=1 -runs=100000000 2>&1 | FileCheck %s
CHECK: ERROR: libFuzzer: deadly signal
