[PATCH] D38858: [cmake] Allow building fuzzers with OSS-Fuzz flags.
Matt Morehouse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 12 12:59:37 PDT 2017
morehouse added inline comments.
================
Comment at: llvm/cmake/modules/AddLLVM.cmake:897
cmake_parse_arguments(ARG "" "DUMMY_MAIN" "" ${ARGN})
- if( LLVM_USE_SANITIZE_COVERAGE )
+ if( LIB_FUZZING_ENGINE )
+ set(LLVM_OPTIONAL_SOURCES ${ARG_DUMMY_MAIN})
----------------
bogner wrote:
> How / where does this get set?
In the CMake configure command. See https://github.com/google/oss-fuzz/pull/885.
https://reviews.llvm.org/D38858
More information about the llvm-commits
mailing list