2015-04-07 00:10:32 +08:00
|
|
|
if( LLVM_USE_SANITIZE_COVERAGE )
|
2017-07-15 02:42:07 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})
|
2015-03-28 08:07:39 +08:00
|
|
|
|
2015-04-07 00:10:32 +08:00
|
|
|
add_clang_executable(clang-fuzzer
|
|
|
|
EXCLUDE_FROM_ALL
|
|
|
|
ClangFuzzer.cpp
|
|
|
|
)
|
2015-03-28 08:07:39 +08:00
|
|
|
|
2015-04-07 00:10:32 +08:00
|
|
|
target_link_libraries(clang-fuzzer
|
|
|
|
${CLANG_FORMAT_LIB_DEPS}
|
|
|
|
clangAST
|
|
|
|
clangBasic
|
2017-07-15 02:42:07 +08:00
|
|
|
clangCodeGen
|
2015-04-07 00:10:32 +08:00
|
|
|
clangDriver
|
|
|
|
clangFrontend
|
|
|
|
clangRewriteFrontend
|
|
|
|
clangStaticAnalyzerFrontend
|
|
|
|
clangTooling
|
|
|
|
LLVMFuzzer
|
|
|
|
)
|
2015-05-12 09:29:04 +08:00
|
|
|
endif()
|