From: Matt Morehouse Date: Tue, 29 Aug 2017 21:56:56 +0000 (+0000) Subject: Revert "[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee6e926b682d0cc82d227e0e59dd615ab7786e36;p=clang Revert "[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer" This reverts r312026 due to bot breakage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312047 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/SanitizerArgs.cpp b/lib/Driver/SanitizerArgs.cpp index a2a1373c8d..466b18e0f6 100644 --- a/lib/Driver/SanitizerArgs.cpp +++ b/lib/Driver/SanitizerArgs.cpp @@ -312,13 +312,9 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC, Add |= FuzzerNoLink; // Enable coverage if the fuzzing flag is set. - if (Add & FuzzerNoLink) { + if (Add & FuzzerNoLink) CoverageFeatures |= CoverageTracePCGuard | CoverageIndirCall | CoverageTraceCmp | CoveragePCTable; - // Due to TLS differences, stack depth tracking is disabled on Mac. - if (!TC.getTriple().isOSDarwin()) - CoverageFeatures |= CoverageStackDepth; - } Kinds |= Add; } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) {