mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
4ac4c33f2d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227507 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
480 B
CMake
18 lines
480 B
CMake
# Disable the coverage instrumentation for the fuzzer itself.
|
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -fsanitize-coverage=0")
|
|
if( LLVM_USE_SANITIZE_COVERAGE )
|
|
add_library(LLVMFuzzer STATIC
|
|
EXCLUDE_FROM_ALL # Do not build if you are not building fuzzers.
|
|
FuzzerCrossOver.cpp
|
|
FuzzerIO.cpp
|
|
FuzzerLoop.cpp
|
|
FuzzerMain.cpp
|
|
FuzzerMutate.cpp
|
|
FuzzerUtil.cpp
|
|
)
|
|
|
|
if( LLVM_INCLUDE_TESTS )
|
|
add_subdirectory(test)
|
|
endif()
|
|
endif()
|