[llvm] r227464 - Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset.
Aaron Ballman
aaron at aaronballman.com
Thu Jan 29 08:58:29 PST 2015
Author: aaronballman
Date: Thu Jan 29 10:58:29 2015
New Revision: 227464
URL: http://llvm.org/viewvc/llvm-project?rev=227464&view=rev
Log:
Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset.
Added:
llvm/trunk/lib/Fuzzer/
- copied from r227451, llvm/trunk/lib/Fuzzer/
Modified:
llvm/trunk/lib/CMakeLists.txt
llvm/trunk/lib/Fuzzer/CMakeLists.txt
Modified: llvm/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CMakeLists.txt?rev=227464&r1=227463&r2=227464&view=diff
==============================================================================
--- llvm/trunk/lib/CMakeLists.txt (original)
+++ llvm/trunk/lib/CMakeLists.txt Thu Jan 29 10:58:29 2015
@@ -17,3 +17,4 @@ add_subdirectory(Target)
add_subdirectory(AsmParser)
add_subdirectory(LineEditor)
add_subdirectory(ProfileData)
+add_subdirectory(Fuzzer)
Modified: llvm/trunk/lib/Fuzzer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/CMakeLists.txt?rev=227464&r1=227451&r2=227464&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/CMakeLists.txt (original)
+++ llvm/trunk/lib/Fuzzer/CMakeLists.txt Thu Jan 29 10:58:29 2015
@@ -1,13 +1,15 @@
-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_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)
+ if( LLVM_INCLUDE_TESTS )
+ add_subdirectory(test)
+ endif()
endif()
More information about the llvm-commits
mailing list