[PATCH] D77637: [SanitizerCoverage] Add -fsanitize-coverage=inline-bool-flag

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 9 02:08:35 PDT 2020


vitalybuka added a comment.

In D77637#1971417 <https://reviews.llvm.org/D77637#1971417>, @pratyai wrote:

> Was unintentionally enabling the bool-flag coverage in SanitizerArgs.cpp before (line#383, `if (Add & SanitizerKind::FuzzerNoLink) { CoverageFeatures |= ... }`
>
> Couldn't catch it before because `cmake -G Ninja ../llvm` didn't generate check-fuzzer target for me. Is there any option to enable fuzzer target generation?


i have
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;lld" -DCOMPILER_RT_BUILD_LIBFUZZER=ON
try to check-all as well


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77637/new/

https://reviews.llvm.org/D77637





More information about the cfe-commits mailing list