Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Clang fuzzers to use libFuzzer bundled with the toolchain.
Differential Revision: https://reviews.llvm.org/D37043 llvm-svn: 311516
- Loading branch information
George Karpenkov
committed
Aug 23, 2017
1 parent
0ac90d3
commit ac385b7
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
set(LLVM_LINK_COMPONENTS support) | ||
|
||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=fuzzer") | ||
|
||
add_clang_executable(clang-format-fuzzer | ||
EXCLUDE_FROM_ALL | ||
ClangFormatFuzzer.cpp | ||
) | ||
|
||
target_link_libraries(clang-format-fuzzer | ||
${CLANG_FORMAT_LIB_DEPS} | ||
LLVMFuzzer | ||
) | ||
${CLANG_FORMAT_LIB_DEPS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters