1if( LLVM_USE_SANITIZE_COVERAGE )
2  set(LLVM_LINK_COMPONENTS support)
3
4  add_clang_executable(clang-fuzzer
5    EXCLUDE_FROM_ALL
6    ClangFuzzer.cpp
7    )
8
9  target_link_libraries(clang-fuzzer
10    ${CLANG_FORMAT_LIB_DEPS}
11    clangAST
12    clangBasic
13    clangDriver
14    clangFrontend
15    clangRewriteFrontend
16    clangStaticAnalyzerFrontend
17    clangTooling
18    LLVMFuzzer
19    )
20endif()
21