2015-04-07 00:10:32 +08:00
|
|
|
if( LLVM_USE_SANITIZE_COVERAGE )
|
|
|
|
set(LLVM_LINK_COMPONENTS support)
|
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
|
|
|
|
clangDriver
|
|
|
|
clangFrontend
|
|
|
|
clangRewriteFrontend
|
|
|
|
clangStaticAnalyzerFrontend
|
|
|
|
clangTooling
|
|
|
|
LLVMFuzzer
|
|
|
|
)
|
2015-05-12 09:29:04 +08:00
|
|
|
endif()
|