]> granicus.if.org Git - clang/commit
[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
authorMatt Morehouse <mascasa@google.com>
Fri, 25 Aug 2017 21:18:29 +0000 (21:18 +0000)
committerMatt Morehouse <mascasa@google.com>
Fri, 25 Aug 2017 21:18:29 +0000 (21:18 +0000)
commit80454dd56a58038213bb2a3b487eceafc2bb2017
treeb795c35e3f9e3c1612d9e83ff05009ec854a0661
parent271a5091063205fff225c8e0066a59ee5472f656
[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

Reviewed By: kcc

Subscribers: cfe-commits, llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D37156

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311801 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/SanitizerArgs.cpp