[PATCH] D82926: [libfuzzer] [clang] Add __has_feature(fuzzing_coverage)

Mitch Phillips via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 10:15:50 PDT 2020


hctim added a comment.

So - the `FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION` flag is a property of the build system and not that of the compiler. There are some places (android) where enabling `FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION` globally changes the behaviour of large amounts of libraries in ways that break the build system.

Having this flag allows us to make targeted compile-time changes to libc based on sancov that don't require enabling `FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION` across the entire build system.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82926





More information about the cfe-commits mailing list